Bug 110676

Summary: [CI][SHARDS] igt@runner@aborted - fail - Previous test: nothing, DP PHY for TC port 0 not ready
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Imre Deak <imre.deak>
Status: CLOSED INVALID QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: highest CC: intel-gfx-bugs, jani.saarinen, tomi.p.sarvela
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: display/DP

Description Martin Peres 2019-05-14 12:30:52 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6078/shard-iclb8/igt@runner@aborted.html

<7>[   10.753938] [drm:intel_digital_port_connected [i915]] DP PHY for TC port 0 not ready
<4>[   10.753940] ------------[ cut here ]------------
<4>[   10.753943] WARN_ON(dig_port->tc_legacy_port)
<4>[   10.753996] WARNING: CPU: 0 PID: 5 at drivers/gpu/drm/i915/intel_dp.c:5153 intel_digital_port_connected+0x712/0x720 [i915]
<4>[   10.753999] Modules linked in: i915 mei_hdcp x86_pkg_temp_thermal coretemp snd_hda_intel snd_hda_codec crct10dif_pclmul snd_hwdep crc32_pclmul cdc_ether snd_hda_core e1000e usbnet ghash_clmulni_intel mii snd_pcm ptp pps_core mei_me mei prime_numbers
<4>[   10.754016] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G        W         5.1.0-CI-CI_DRM_6078+ #1
<4>[   10.754018] Hardware name: Intel Corporation Ice Lake Client Platform/IceLake U DDR4 SODIMM PD RVP TLC, BIOS ICLSFWR1.R00.3175.A00.1904261428 04/26/2019
<4>[   10.754022] Workqueue: events output_poll_execute
<4>[   10.754061] RIP: 0010:intel_digital_port_connected+0x712/0x720 [i915]
<4>[   10.754064] Code: 59 38 e1 31 c0 41 f6 84 24 54 13 00 00 01 0f 84 c2 f9 ff ff 48 c7 c6 68 fb 36 a0 48 c7 c7 e7 8a 38 a0 88 04 24 e8 3e e7 dd e0 <0f> 0b 0f b6 04 24 e9 a1 f9 ff ff 0f 1f 00 41 57 41 56 41 55 41 54
<4>[   10.754066] RSP: 0018:ffffc900000cbbe8 EFLAGS: 00010286
<4>[   10.754069] RAX: 0000000000000000 RBX: ffff888480900000 RCX: 0000000000000000
<4>[   10.754071] RDX: 0000000000000006 RSI: ffff88849db64980 RDI: ffffffff82120679
<4>[   10.754073] RBP: 0000000000000001 R08: 000000006c165d3a R09: 0000000000000000
<4>[   10.754076] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8884831fc2a8
<4>[   10.754078] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
<4>[   10.754081] FS:  0000000000000000(0000) GS:ffff88849fe00000(0000) knlGS:0000000000000000
<4>[   10.754083] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[   10.754086] CR2: 00007fe3b765c920 CR3: 000000048ae7a002 CR4: 0000000000760ef0
<4>[   10.754088] PKRU: 55555554
<4>[   10.754090] Call Trace:
<4>[   10.754135]  intel_hdmi_detect+0x4c/0xd0 [i915]
<4>[   10.754141]  drm_helper_probe_single_connector_modes+0xd4/0x6e0
<4>[   10.754158]  drm_setup_crtcs+0x150/0xca0
<4>[   10.754168]  ? drm_fb_helper_is_bound.isra.13+0x71/0xa0
<4>[   10.754173]  drm_fb_helper_hotplug_event.part.26+0x84/0xb0
<4>[   10.754177]  drm_kms_helper_hotplug_event+0x21/0x30
<4>[   10.754181]  output_poll_execute+0x17a/0x1a0
<4>[   10.754189]  process_one_work+0x245/0x610
<4>[   10.754199]  worker_thread+0x37/0x380
<4>[   10.754204]  ? process_one_work+0x610/0x610
<4>[   10.754208]  kthread+0x119/0x130
<4>[   10.754212]  ? kthread_park+0x80/0x80
<4>[   10.754218]  ret_from_fork+0x24/0x50
<4>[   10.754231] irq event stamp: 175132
<4>[   10.754236] hardirqs last  enabled at (175131): [<ffffffff811269e4>] vprintk_emit+0x124/0x320
<4>[   10.754240] hardirqs last disabled at (175132): [<ffffffff810019b0>] trace_hardirqs_off_thunk+0x1a/0x1c
<4>[   10.754245] softirqs last  enabled at (174554): [<ffffffff818328bc>] peernet2id+0x4c/0x70
<4>[   10.754248] softirqs last disabled at (174552): [<ffffffff8183289d>] peernet2id+0x2d/0x70
<4>[   10.754289] WARNING: CPU: 0 PID: 5 at drivers/gpu/drm/i915/intel_dp.c:5153 intel_digital_port_connected+0x712/0x720 [i915]
<4>[   10.754291] ---[ end trace 87d79ba446e8a140 ]---
Comment 1 CI Bug Log 2019-05-14 12:31:29 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ICL: igt@runner@aborted - fail -  Previous test: nothing, Kernel badly tainted (0x200)
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12935/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12944/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb5/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb6/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb8/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb8/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4212/shard-iclb8/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6078/shard-iclb8/igt@runner@aborted.html
Comment 2 Imre Deak 2019-05-14 13:10:36 UTC
The VBT in this particular BIOS flavor has port C marked as a legacy TypeC port, 
but contrary to that either in the BIOS setup (advanced/SA/display/portX) or in the BIOS itself (for the corresponding IOM functionality) this particular port was not configured correctly for legacy TypeC mode operation.

I believe Tomi has followed up on this already flashing another BIOS, which got rid of these errors. In that case we can close this.
Comment 3 Jani Saarinen 2019-05-14 14:09:54 UTC
Yes, correct. Now shards have been flashed with new BIOS and this should not be visible anymore. This was misconfiguration / wrong config.

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.