Bug 107335

Summary: [CI][BAT] igt@* - dmesg-warn - Missing case (encoder->hpd_pin == 9)
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: James Ausmus <james.ausmus>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: display/DP, display/eDP, display/PSR

Description Martin Peres 2018-07-23 13:00:08 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4527/fi-icl-u/igt@kms_busy@basic-flip-b.html

[  330.346046] ------------[ cut here ]------------
[  330.346049] Missing case (encoder->hpd_pin == 9)
[  330.346109] WARNING: CPU: 1 PID: 3717 at drivers/gpu/drm/i915/intel_dp.c:4454 cpt_digital_port_connected.isra.11+0x25/0x60 [i915]
[  330.346112] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 ax88179_178a usbnet mii x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul snd_hda_intel snd_hda_codec ghash_clmulni_intel snd_hwdep snd_hda_core e1000e snd_pcm prime_numbers
[  330.346165] CPU: 1 PID: 3717 Comm: kms_busy Tainted: G     U  W         4.18.0-rc6-CI-CI_DRM_4527+ #1
[  330.346168] Hardware name: Intel Corporation Ice Lake Client Platform/IceLake U DDR4 SODIMM PD RVP, BIOS ICLSFWR1.R00.2222.A01.1805300339 05/30/2018
[  330.346214] RIP: 0010:cpt_digital_port_connected.isra.11+0x25/0x60 [i915]
[  330.346216] Code: 00 00 00 00 00 83 fe 06 53 74 4e 83 fe 07 74 42 83 fe 05 74 1b 89 f2 48 c7 c7 91 34 2b a0 48 c7 c6 fb 35 2b a0 e8 bb 20 e5 e0 <0f> 0b 31 c0 5b c3 bb 00 00 20 00 48 8b 87 30 0f 00 00 ba 01 00 00 
[  330.346360] RSP: 0018:ffffc90001077b20 EFLAGS: 00010282
[  330.346365] RAX: 0000000000000000 RBX: ffff880497de8008 RCX: 0000000000000001
[  330.346368] RDX: 0000000080000001 RSI: ffffffff820c6e04 RDI: 00000000ffffffff
[  330.346370] RBP: ffff880496f40000 R08: 000000005f82c051 R09: 0000000000000000
[  330.346373] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880496f16678
[  330.346376] R13: ffff880497de8110 R14: 0000000000000002 R15: ffff880497de8008
[  330.346379] FS:  00007f31beab3980(0000) GS:ffff8804c0840000(0000) knlGS:0000000000000000
[  330.346382] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  330.346385] CR2: 00005577ce5c1088 CR3: 00000004440d2003 CR4: 0000000000760ee0
[  330.346388] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  330.346391] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  330.346394] PKRU: 55555554
[  330.346396] Call Trace:
[  330.346444]  intel_dp_detect+0x1fc/0x550 [i915]
[  330.346455]  drm_helper_probe_single_connector_modes+0xd4/0x6e0
[  330.346461]  ? __mutex_lock+0x89/0x980
[  330.346464]  ? __mutex_lock+0x400/0x980
[  330.346481]  drm_mode_getconnector+0x20f/0x4d0
[  330.346496]  ? drm_connector_property_set_ioctl+0x60/0x60
[  330.346501]  drm_ioctl_kernel+0x7c/0xf0
[  330.346509]  drm_ioctl+0x2e6/0x3a0
[  330.346516]  ? drm_connector_property_set_ioctl+0x60/0x60
[  330.346534]  do_vfs_ioctl+0xa0/0x6d0
[  330.346539]  ? lock_acquire+0xa6/0x210
[  330.346549]  ksys_ioctl+0x35/0x60
[  330.346555]  __x64_sys_ioctl+0x11/0x20
[  330.346559]  do_syscall_64+0x55/0x190
[  330.346565]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
[  330.346568] RIP: 0033:0x7f31bdf485d7
[  330.346571] 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 
[  330.346717] RSP: 002b:00007ffd1426f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  330.346722] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f31bdf485d7
[  330.346725] RDX: 00007ffd1426f070 RSI: 00000000c05064a7 RDI: 0000000000000003
[  330.346728] RBP: 00007ffd1426f070 R08: 00005577ce5c0ee0 R09: 0000000000000000
[  330.346731] R10: 00005577ce590010 R11: 0000000000000246 R12: 00000000c05064a7
[  330.346734] R13: 0000000000000003 R14: 0000000000000003 R15: 00007ffd1426f070
[  330.346748] irq event stamp: 50604
[  330.346753] hardirqs last  enabled at (50603): [<ffffffff810f8b7c>] console_unlock+0x3fc/0x600
[  330.346757] hardirqs last disabled at (50604): [<ffffffff81a0111c>] error_entry+0x7c/0x100
[  330.346761] softirqs last  enabled at (50154): [<ffffffff81c0034f>] __do_softirq+0x34f/0x505
[  330.346765] softirqs last disabled at (50135): [<ffffffff8108c825>] irq_exit+0xa5/0xc0
[  330.346810] WARNING: CPU: 1 PID: 3717 at drivers/gpu/drm/i915/intel_dp.c:4454 cpt_digital_port_connected.isra.11+0x25/0x60 [i915]
[  330.346812] ---[ end trace b150be5492a5e9d1 ]---

PSR tests also seem to be failing because of this issue:

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4527/fi-icl-u/igt@kms_psr@primary_mmap_gtt.html
Comment 1 Martin Peres 2018-07-23 13:01:09 UTC
Bumping the priority because of the high number of issues hit in BAT.
Comment 2 James Ausmus 2018-08-09 23:11:16 UTC
Looks like this was fixed with b9fcddab4afbac67660410009828eae83b6f3a36 "drm/i915/icl: implement icl_digital_port_connected()", which was merged July 25th (2 days after this bug was filed).

Looking at the fi-icl-u test results recently (https://intel-gfx-ci.01.org/tree/drm-tip/fi-icl-u.html), kms_busy@basic-flip-* has been passing (when it attempts to run at all), so it looks like we can close this down as Already Fixed. :)
Comment 3 Lakshmi 2018-08-23 14:48:47 UTC
Last seen 3 weeks ago. Closing the issue.
Comment 4 Lakshmi 2018-08-28 06:34:48 UTC
This issue didn't appear with drmtip only last two rounds. By then, it used to appear every round. So, to ensure that this defect is really closed, we can keep it open for at least next 8 rounds of drmtip execution. 

So reopening this issue. But this doesn't mean we need a fix for this issue.
Comment 5 James Ausmus 2018-09-27 23:56:58 UTC
Can this be closed now?
Comment 6 James Ausmus 2018-09-27 23:58:50 UTC
Looks like this issue has not been seen again for a long time, as we would expect after the missing code got merged. ;)

Closing again

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.