Bug 111315 - [CI][DRMTIP]igt@i915_pm_rpm@i2c - dmesg-warn - Missing case (dig_port->aux_ch == 1)
Summary: [CI][DRMTIP]igt@i915_pm_rpm@i2c - dmesg-warn - Missing case (dig_port->aux_ch...
Status: NEEDINFO
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-07 12:11 UTC by Lakshmi
Modified: 2019-08-09 14:11 UTC (History)
1 user (show)

See Also:
i915 platform: ICL
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2019-08-07 12:11:13 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_337/fi-icl-dsi/igt@i915_pm_rpm@i2c.html
<4> [53.908262] Missing case (dig_port->aux_ch == 1)
<4> [53.908343] WARNING: CPU: 3 PID: 1075 at drivers/gpu/drm/i915/display/intel_display.c:6764 intel_aux_power_domain+0xe0/0xf0 [i915]
<4> [53.908345] Modules linked in: i2c_dev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 mei_hdcp x86_pkg_temp_thermal snd_hda_intel coretemp snd_intel_nhlt ax88179_178a usbnet snd_hda_codec mii snd_hwdep crct10dif_pclmul snd_hda_core e1000e crc32_pclmul ghash_clmulni_intel snd_pcm ptp pps_core mei_me mei prime_numbers
<4> [53.908361] CPU: 3 PID: 1075 Comm: i915_pm_rpm Tainted: G     U            5.3.0-rc3-g1aafc95ec9fc-drmtip_337+ #1
<4> [53.908363] Hardware name: Intel Corporation Ice Lake Client Platform/IceLake Y LPDDR4x T4 RVP TLC, BIOS ICLSFWR1.R00.3212.A00.1905212112 05/21/2019
<4> [53.908405] RIP: 0010:intel_aux_power_domain+0xe0/0xf0 [i915]
<4> [53.908408] Code: 00 00 00 75 a0 f3 c3 b8 2a 00 00 00 c3 83 fa 02 b8 32 00 00 00 74 d9 48 c7 c6 02 56 8e c0 48 c7 c7 74 4a 8e c0 e8 e0 4d 8d d8 <0f> 0b b8 32 00 00 00 c3 b8 33 00 00 00 c3 66 90 53 48 89 fb 48 83
<4> [53.908409] RSP: 0018:ffff98584062bb98 EFLAGS: 00010282
<4> [53.908411] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
<4> [53.908413] RDX: 0000000080000001 RSI: ffff8b311a2988c8 RDI: 00000000ffffffff
<4> [53.908415] RBP: ffff8b31071743c8 R08: ffff8b311a2988c8 R09: 0000000000000000
<4> [53.908416] R10: ffff98584062bdf0 R11: 0000000000000000 R12: 0000000000000003
<4> [53.908418] R13: 0000000000000003 R14: ffff8b30fe5c0000 R15: ffff8b31071743c8
<4> [53.908420] FS:  00007f5157c08240(0000) GS:ffff8b311bd80000(0000) knlGS:0000000000000000
<4> [53.908421] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [53.908423] CR2: 00007f76e81d6000 CR3: 0000000288e02006 CR4: 0000000000760ee0
<4> [53.908424] PKRU: 55555554
<4> [53.908426] Call Trace:
<4> [53.908468]  intel_dp_aux_xfer+0x83/0x920 [i915]
<4> [53.908474]  ? stack_trace_save+0x46/0x70
<4> [53.908479]  ? mark_lock+0x1c9/0x650
<4> [53.908483]  ? __lock_acquire+0x4ac/0x1e90
<4> [53.908527]  intel_dp_aux_transfer+0x124/0x200 [i915]
<4> [53.908533]  ? i2c_transfer+0x38/0x100
<4> [53.908536]  drm_dp_i2c_do_msg+0x85/0x270
<4> [53.908541]  drm_dp_i2c_xfer+0xd1/0x290
<4> [53.908547]  __i2c_transfer+0x164/0x740
<4> [53.908551]  i2c_transfer+0x46/0x100
<4> [53.908555]  i2cdev_ioctl_rdwr.isra.1+0x135/0x1f0 [i2c_dev]
<4> [53.908559]  i2cdev_ioctl+0x212/0x320 [i2c_dev]
<4> [53.908565]  do_vfs_ioctl+0xa0/0x6f0
<4> [53.908568]  ? do_sys_open+0x13b/0x250
<4> [53.908572]  ? rcu_read_lock_sched_held+0x6f/0x80
<4> [53.908575]  ? kmem_cache_free+0x31e/0x3c0
<4> [53.908579]  ksys_ioctl+0x35/0x60
<4> [53.908583]  __x64_sys_ioctl+0x11/0x20
<4> [53.908586]  do_syscall_64+0x55/0x1c0
<4> [53.908591]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [53.908593] RIP: 0033:0x7f5156c815d7
<4> [53.908595] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4> [53.908596] RSP: 002b:00007fff079401a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [53.908599] RAX: ffffffffffffffda RBX: 000055dfd640a4e0 RCX: 00007f5156c815d7
<4> [53.908600] RDX: 00007fff079401d0 RSI: 0000000000000707 RDI: 0000000000000008
<4> [53.908602] RBP: 0000000000000008 R08: 000055dfd640a683 R09: 0000000000000006
<4> [53.908603] R10: 0000000000000000 R11: 0000000000000246 R12: 000055dfd640a060
<4> [53.908605] R13: 000055dfd636b330 R14: 0000000000000000 R15: 00007fff07940250
<4> [53.908612] irq event stamp: 126874
<4> [53.908615] hardirqs last  enabled at (126873): [<ffffffff991300c7>] console_unlock+0x3f7/0x5a0
<4> [53.908618] hardirqs last disabled at (126874): [<ffffffff990019ea>] trace_hardirqs_off_thunk+0x1a/0x20
<4> [53.908620] softirqs last  enabled at (126432): [<ffffffff99c0033e>] __do_softirq+0x33e/0x4ae
<4> [53.908623] softirqs last disabled at (126425): [<ffffffff990bbee9>] irq_exit+0xa9/0xc0
<4> [53.908664] WARNING: CPU: 3 PID: 1075 at drivers/gpu/drm/i915/display/intel_display.c:6764 intel_aux_power_domain+0xe0/0xf0 [i915]
<4> [53.908666] ---[ end trace b43800b580c994d5 ]---
Comment 1 Lakshmi 2019-08-07 12:11:56 UTC
On fi-icl-dsi HW changes BIOS/Silicon now updated to D1/Q3R5.
Comment 2 CI Bug Log 2019-08-07 12:31:19 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* fi-icl-dsi:  igt@i915_pm_rpm@i2c - dmesg-warn - Missing case (dig_port-&gt;aux_ch == 1)
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_337/fi-icl-dsi/igt@i915_pm_rpm@i2c.html
Comment 3 Imre Deak 2019-08-09 14:11:09 UTC
The problem is 
<7>[   10.069905] [drm:intel_bios_port_aux_ch [i915]] using AUX B for port C (VBT)
which is impossible. Port C is a TypeC port and can only be connected to an AUX starting from AUX C (and the AUX depending on the corresponding DP-Alt/TBT power well).

In addition either the rework for legacy-DP functionality is missing from the RVP or the BIOS setup is not configured accordingly.

So this is again a VBT issue wrt. the port C information in it. Please assign to someone who could generate a new VBT, removing the port C info from there completely, or fixing the AUX info in it (if the fi-icl-dsi has indeed the required DP rework).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.