Bug 93220

Summary: [SKL] Can't detect external monitor via HDMI after 2nd hotplug
Product: DRI Reporter: Timo Aaltonen <tjaalton>
Component: DRM/IntelAssignee: Jim Bride <jim.bride>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: high CC: cooper.chiou, gary.c.wang, intel-gfx-bugs, q3aiml
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: SKL i915 features: display/HDMI
Attachments:
Description Flags
dmesg dump drm-intel-next-2015-12-04-1+
none
no fail for HDMI unplug/re-plugin for 50 test cycles continuity
none
drm log for failed case
none
failed log for this issue on 12/17
none
lack enable-connector and setcrtc for HDMI monitor
none
some log for comment #19
none
Lack get resource drm ioctl from usespace none

Description Timo Aaltonen 2015-12-03 07:42:21 UTC
Hi

A Dell machine can't drive a HDMI output after plugging it in for the second time. I'll let others summarize the status and what makes this hw special.
Comment 1 Gary Wang 2015-12-03 11:35:48 UTC
The HDMI port is designed by Thunderbolt interface with following conditions,

Port-B is for HDMI in Alpine Ridge (Integrated DisplayPort with HDMI/DVI Compatible in VBIOS's VBT).
Port-C is for Type-C in Alpine Ridge (Integrated DisplayPort with HDMI/DVI Compatible in VBIOS's VBT).
Port-D is disabled.

If "Integrated HDMI/DVI" is used for Port-B, this issue went away.
Comment 2 Jim Bride 2015-12-09 22:17:34 UTC
Does anyone have a dmesg capture from the failure that we can be looking at while we wait on receiving hardware?
Comment 3 Timo Aaltonen 2015-12-10 07:57:14 UTC
Sorry, this was due to an older hw revision with old Alpine Ridge. Newer platform with AR B1 doesn't hit the bug.
Comment 4 Timo Aaltonen 2015-12-11 07:41:51 UTC
turns out another config does in fact still suffer from this even with -nightly, so reopening
Comment 5 Timo Aaltonen 2015-12-11 10:43:25 UTC
Created attachment 120463 [details]
dmesg dump drm-intel-next-2015-12-04-1+

Here's a dmesg dump from a machine running latest -next plus a test patch by Gary to increase hdmi live status check delay.
Comment 6 Jim Bride 2015-12-11 21:55:21 UTC
I saw a patch from Gary come over the intel-gfx mailing list.  I assume that this patch didn't resolve the issue?
Comment 7 Timo Aaltonen 2015-12-13 07:48:39 UTC
Right, it's the same patch and didn't fix this one.
Comment 8 Gary Wang 2015-12-14 07:19:33 UTC
Wait for Canonical's shipping with customer device C6 sku (with high fail-rate, but low fail-rate in C5 sku w/ 12/9 nightly build) to analyze it.
Comment 9 cprigent 2015-12-15 17:30:34 UTC
Bug scrub:
Decrease importance. It does not block developer work.
Comment 10 Gary Wang 2015-12-16 08:43:43 UTC
Created attachment 120537 [details]
no fail for HDMI unplug/re-plugin for 50 test cycles continuity

Hi Timo,
I still cannot reproduce it with drm-intel-nightly 12/15 on C6 sku with HP LP2475w HDMI monitor. 

0/50 fail-rate.

I will try again by several rebooting.
Comment 11 Gary Wang 2015-12-16 09:11:55 UTC
After reboot, it suffered 100% failed when hot-plugin HDMI cable, will provide log soon.
Comment 12 Gary Wang 2015-12-16 09:57:53 UTC
Created attachment 120539 [details]
drm log for failed case

Failed log for comment #11
Comment 13 Jim Bride 2015-12-16 18:39:56 UTC
A few things to note from the logs:

Dec 16 04:52:26 u-Precision-5510 kernel: [    1.342758] [drm:intel_csr_ucode_init] Loading i915/skl_dmc_ver1.bin
Dec 16 04:52:26 u-Precision-5510 kernel: [    1.343350] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1.bin failed with error -2
Dec 16 04:52:26 u-Precision-5510 kernel: [    1.343401] [drm:csr_load_work_fn [i915]] *ERROR* Failed to load DMC firmware, disabling rpm

You'll probably want to look into this and make sure you have the proper DMC firmware available on the system.

Dec 16 04:52:26 u-Precision-5510 kernel: [   18.470051] nvidia: module license 'NVIDIA' taints kernel.
Dec 16 04:52:26 u-Precision-5510 kernel: [   18.470053] Disabling lock debugging due to kernel taint
Dec 16 04:52:26 u-Precision-5510 kernel: [   18.475242] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
Dec 16 04:52:26 u-Precision-5510 kernel: [   18.475410] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1

Does this platform have an on-board Nvidia GPU?

Dec 16 04:52:26 u-Precision-5510 kernel: [   20.478421] [drm:i915_hotplug_work_func] Connector HDMI-A-1 (pin 5) received hotplug event.
Dec 16 04:52:26 u-Precision-5510 kernel: [   20.478422] [drm:intel_hdmi_detect] [CONNECTOR:44:HDMI-A-1]

We're definitely at least seeing some hot plug activity on the proper HDMI port.

Dec 16 04:52:35 u-Precision-5510 kernel: [   28.865318] [drm:intel_disable_pipe] disabling pipe B
Dec 16 04:52:35 u-Precision-5510 kernel: [   28.867350] [drm:intel_disable_shared_dpll] disable DPLL 1 (active 1, on? 1) for crtc 25
Dec 16 04:52:35 u-Precision-5510 kernel: [   28.867357] [drm:intel_disable_shared_dpll] disabling DPLL 1

...and yet here we are tearing down the pipe that was associated with our HDMI connector.  Eventually we seem to be able to detect the HDMI monitor again, but we have a few other attempts beforehand.  I suspect this (the few failures) is innocuous, but I'm not super familiar with the HDMI code path so I will look into it.  

I have a few questions:

* Has this issue been reproduced more than one time?  Is there a deterministic recipe to reproduce the issue?
* If the issue is reproducible readily, can you reproduce the issue if the Nvidia module is *not* loaded?  I think it's notable that things seemed to go south for us shortly after the Nvidia module was loaded.
* If readily reproducible, can it be reproduced with different monitors?
Comment 14 Timo Aaltonen 2015-12-16 19:08:23 UTC
Yes, it's a hybrid machine, but it should be running in "power saving" mode so not using the dGPU.

My understanding is that it happens every time with this config. Don't know if it has been verified withou nvidia, or with other monitors.
Comment 15 Gary Wang 2015-12-17 08:23:40 UTC
Created attachment 120560 [details]
failed log for this issue on 12/17

Hi Jim, I used the latest Gfx SKL firmware for verifying it, the issue was reproduced, please refer the log.

skldmcver123.tar.bz2
sklgucver43.tar.bz2

It could reproduce it by several system rebooting. I only reproduce it with HP LP2475w monitor, and cannot reproduce it with SONY 4k HDMI TV.

I will try to verify it again in xinit mode.

Hi Timo, 
Do you know how to disable nVidia module for test only?
Comment 16 Gary Wang 2015-12-17 08:32:34 UTC
For Jim,
With my HP LP2475w monitor, its fail-rate is about 2/10.
Comment 17 Timo Aaltonen 2015-12-17 15:25:56 UTC
disabling nvidia should be as simple as blacklisting the module in /etc/modprobe.d/...
Comment 18 Jim Bride 2016-01-08 18:48:04 UTC
Any word on whether this reproduces without the Nvidia module loaded?  Were the HDMI patches that Gary submitted sufficient to address this issue?
Comment 19 Gary Wang 2016-01-12 08:18:52 UTC
Created attachment 120981 [details]
lack enable-connector and setcrtc for HDMI monitor

Hi Jim,
This issue could be reproduced in 1/17 drm-intel-nightly. In text mode with modeset=1, it appears no fail-rate until now by unplug/re-plug HDMI cable. 

So many probe connector operations in kernel log. It's really strange for me.

When suffering this issue in X-server environment, it seems no obvious error but lack enabling connector and setcrtc for HDMI. please refer following log for do looping in probing HDMI (please refer video in 7z file.)
...
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258666] [drm:intel_get_hpd_pins] hotplug event received, stat 0x00200000, dig 0x10101012, pins 0x00000020
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258668] [drm:intel_hpd_irq_handler] digital hpd port B - long
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258669] [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 5 - cnt: 0
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258676] [drm:intel_dp_hpd_pulse] got hpd irq on port B - long
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258678] [drm:intel_power_well_enable] enabling DC off
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258679] [drm:gen9_set_dc_state] Setting DC state from 02 to 00
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258682] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258742] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258805] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258861] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258862] [drm:intel_power_well_disable] disabling DC off
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258892] [drm:skl_enable_dc6] Enabling DC6
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258894] [drm:gen9_set_dc_state] Setting DC state from 00 to 02
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258923] [drm:i915_hotplug_work_func] running encoder hotplug functions
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258925] [drm:i915_hotplug_work_func] Connector DP-1 (pin 5) received hotplug event.
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258926] [drm:intel_dp_detect] [CONNECTOR:40:DP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258927] [drm:intel_power_well_enable] enabling DC off
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258952] [drm:gen9_set_dc_state] Setting DC state from 02 to 00
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.258964] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259014] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259076] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259092] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259113] [drm:intel_power_well_disable] disabling DC off
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259119] [drm:skl_enable_dc6] Enabling DC6
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259121] [drm:gen9_set_dc_state] Setting DC state from 00 to 02
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259123] [drm:i915_hotplug_work_func] Connector HDMI-A-1 (pin 5) received hotplug event.
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.259124] [drm:intel_hdmi_detect] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.383865] [drm:intel_hdmi_detect] Live status not up!
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.383867] [drm:intel_hdmi_set_edid] get edid[drm:intel_hdmi_detect] intel_hdmi_detect() end!
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.383869] [drm:intel_hpd_irq_event] [CONNECTOR:44:HDMI-A-1] status updated from connected to disconnected
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384731] [drm:drm_mode_getresources] [CONNECTOR:32:eDP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384733] [drm:drm_mode_getresources] [CONNECTOR:40:DP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384734] [drm:drm_mode_getresources] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384735] [drm:drm_mode_getresources] [CONNECTOR:47:DP-2]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384735] [drm:drm_mode_getresources] [CONNECTOR:51:HDMI-A-2]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384736] [drm:drm_mode_getresources] CRTC[3] CONNECTORS[5] ENCODERS[9]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384749] [drm:drm_mode_getconnector] [CONNECTOR:32:?]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384751] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:eDP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384751] [drm:intel_dp_detect] [CONNECTOR:32:eDP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384753] [drm:intel_power_well_enable] enabling DC off
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384759] [drm:gen9_set_dc_state] Setting DC state from 02 to 00
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384772] [drm:edp_panel_vdd_on] Turning eDP port A VDD on
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.384831] [drm:edp_panel_vdd_on] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd000f
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385416] [drm:drm_edid_to_eld] ELD: no CEA Extension found
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385424] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:eDP-1] probed modes :
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385426] [drm:drm_mode_debug_printmodeline] Modeline 33:"3840x2160" 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0xa
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385435] [drm:drm_mode_getconnector] [CONNECTOR:32:?]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385549] [drm:drm_mode_getconnector] [CONNECTOR:40:?]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385550] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:40:DP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385551] [drm:intel_dp_detect] [CONNECTOR:40:DP-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385552] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385596] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385618] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385621] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385622] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:40:DP-1] disconnected
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385624] [drm:drm_mode_getconnector] [CONNECTOR:47:?]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385625] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-2]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385626] [drm:intel_dp_detect] [CONNECTOR:47:DP-2]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385626] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385657] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385673] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385674] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385675] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-2] disconnected
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385693] [drm:drm_mode_getconnector] [CONNECTOR:44:?]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385695] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.385708] [drm:intel_hdmi_detect] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.511908] [drm:intel_hdmi_detect] Live status not up!
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.511909] [drm:intel_hdmi_set_edid] get edid[drm:intel_hdmi_detect] intel_hdmi_detect() end!
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.511912] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:44:HDMI-A-1] disconnected
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.512276] [drm:drm_mode_getconnector] [CONNECTOR:51:?]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.512277] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:HDMI-A-2]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.512278] [drm:intel_hdmi_detect] [CONNECTOR:51:HDMI-A-2]
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.639923] [drm:intel_hdmi_detect] Live status not up!
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.639925] [drm:intel_hdmi_set_edid] get edid[drm:intel_hdmi_detect] intel_hdmi_detect() end!
Jan 12 02:47:44 u-Precision-5510 kernel: [  589.639927] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:HDMI-A-2] disconnected
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.114258] [drm:intel_get_hpd_pins] hotplug event received, stat 0x00200000, dig 0x10101012, pins 0x00000020
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.114261] [drm:intel_hpd_irq_handler] digital hpd port B - long
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.114262] [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 5 - cnt: 1
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.114269] [drm:intel_dp_hpd_pulse] got hpd irq on port B - long
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.114270] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.114443] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.122947] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.131331] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.144259] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.160258] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167878] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167887] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167895] [drm:i915_hotplug_work_func] running encoder hotplug functions
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167897] [drm:i915_hotplug_work_func] Connector DP-1 (pin 5) received hotplug event.
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167898] [drm:intel_dp_detect] [CONNECTOR:40:DP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167899] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.167928] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.176321] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.184705] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.200255] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.216263] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.223879] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.223889] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.223890] [drm:i915_hotplug_work_func] Connector HDMI-A-1 (pin 5) received hotplug event.
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.223893] [drm:intel_hdmi_detect] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.223905] [drm:intel_hdmi_detect] Live status up!
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.223906] [drm:intel_hdmi_set_edid] get edid[drm:intel_hdmi_set_edid] force to get edid
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.276942] [drm:intel_hdmi_set_edid] check audio HDMI mode<7>[  590.276947] [drm:drm_detect_monitor_audio] Monitor has basic audio support
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.276948] [drm:intel_hdmi_set_edid] audio checking finished
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.276949] [drm:intel_hdmi_detect] intel_hdmi_detect() end!<7>[  590.276953] [drm:intel_hpd_irq_event] [CONNECTOR:44:HDMI-A-1] status updated from disconnected to connected
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277516] [drm:drm_mode_getresources] [CONNECTOR:32:eDP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277518] [drm:drm_mode_getresources] [CONNECTOR:40:DP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277519] [drm:drm_mode_getresources] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277519] [drm:drm_mode_getresources] [CONNECTOR:47:DP-2]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277520] [drm:drm_mode_getresources] [CONNECTOR:51:HDMI-A-2]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277521] [drm:drm_mode_getresources] CRTC[3] CONNECTORS[5] ENCODERS[9]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277531] [drm:drm_mode_getconnector] [CONNECTOR:32:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277532] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:eDP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.277533] [drm:intel_dp_detect] [CONNECTOR:32:eDP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278064] [drm:drm_edid_to_eld] ELD: no CEA Extension found
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278068] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:eDP-1] probed modes :
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278071] [drm:drm_mode_debug_printmodeline] Modeline 33:"3840x2160" 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278075] [drm:drm_mode_getconnector] [CONNECTOR:32:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278177] [drm:drm_mode_getconnector] [CONNECTOR:40:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278178] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:40:DP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278179] [drm:intel_dp_detect] [CONNECTOR:40:DP-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278180] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.278232] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.286650] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.295042] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.308320] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.324315] [drm:intel_dp_aux_ch] dp_aux_ch timeout status 0x7d40001f
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331934] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331950] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331951] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:40:DP-1] disconnected
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331955] [drm:drm_mode_getconnector] [CONNECTOR:47:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331956] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-2]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331957] [drm:intel_dp_detect] [CONNECTOR:47:DP-2]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331958] [drm:intel_power_well_enable] enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.331979] [drm:skl_set_power_well] Enabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332005] [drm:intel_power_well_disable] disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332007] [drm:skl_set_power_well] Disabling power well 2
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332008] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-2] disconnected
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332010] [drm:drm_mode_getconnector] [CONNECTOR:44:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332010] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332011] [drm:intel_hdmi_detect] [CONNECTOR:44:HDMI-A-1]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332025] [drm:intel_hdmi_detect] Live status up!
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.332026] [drm:intel_hdmi_set_edid] get edid[drm:intel_hdmi_set_edid] force to get edid
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385461] [drm:intel_hdmi_set_edid] check audio HDMI mode<7>[  590.385463] [drm:drm_detect_monitor_audio] Monitor has basic audio support
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385464] [drm:intel_hdmi_set_edid] audio checking finished
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385465] [drm:intel_hdmi_detect] intel_hdmi_detect() end!<7>[  590.385509] [drm:drm_edid_to_eld] ELD monitor 2269WM
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385510] [drm:parse_hdmi_vsdb] HDMI: DVI dual 0, max TMDS clock 0, latency present 0 0, video latency 0 0, audio latency 0 0
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385511] [drm:drm_edid_to_eld] ELD size 32, SAD count 1
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385526] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:44:HDMI-A-1] probed modes :
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385528] [drm:drm_mode_debug_printmodeline] Modeline 55:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385529] [drm:drm_mode_debug_printmodeline] Modeline 94:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385530] [drm:drm_mode_debug_printmodeline] Modeline 83:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385531] [drm:drm_mode_debug_printmodeline] Modeline 99:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385532] [drm:drm_mode_debug_printmodeline] Modeline 86:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385533] [drm:drm_mode_debug_printmodeline] Modeline 84:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385535] [drm:drm_mode_debug_printmodeline] Modeline 65:"1680x1050" 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385536] [drm:drm_mode_debug_printmodeline] Modeline 76:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385537] [drm:drm_mode_debug_printmodeline] Modeline 67:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385538] [drm:drm_mode_debug_printmodeline] Modeline 66:"1440x900" 60 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385539] [drm:drm_mode_debug_printmodeline] Modeline 68:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385540] [drm:drm_mode_debug_printmodeline] Modeline 60:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385541] [drm:drm_mode_debug_printmodeline] Modeline 96:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385542] [drm:drm_mode_debug_printmodeline] Modeline 88:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385543] [drm:drm_mode_debug_printmodeline] Modeline 77:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385544] [drm:drm_mode_debug_printmodeline] Modeline 78:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385545] [drm:drm_mode_debug_printmodeline] Modeline 79:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385546] [drm:drm_mode_debug_printmodeline] Modeline 80:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385547] [drm:drm_mode_debug_printmodeline] Modeline 81:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385548] [drm:drm_mode_debug_printmodeline] Modeline 82:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385550] [drm:drm_mode_debug_printmodeline] Modeline 69:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385551] [drm:drm_mode_debug_printmodeline] Modeline 70:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385552] [drm:drm_mode_debug_printmodeline] Modeline 63:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385553] [drm:drm_mode_debug_printmodeline] Modeline 95:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385554] [drm:drm_mode_debug_printmodeline] Modeline 58:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385555] [drm:drm_mode_debug_printmodeline] Modeline 71:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385556] [drm:drm_mode_debug_printmodeline] Modeline 72:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385557] [drm:drm_mode_debug_printmodeline] Modeline 73:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385558] [drm:drm_mode_debug_printmodeline] Modeline 74:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385559] [drm:drm_mode_debug_printmodeline] Modeline 93:"640x480" 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385560] [drm:drm_mode_debug_printmodeline] Modeline 75:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385563] [drm:drm_mode_getconnector] [CONNECTOR:44:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385586] [drm:drm_mode_getconnector] [CONNECTOR:51:?]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385587] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:HDMI-A-2]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.385588] [drm:intel_hdmi_detect] [CONNECTOR:51:HDMI-A-2]
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.511946] [drm:intel_hdmi_detect] Live status not up!
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.511947] [drm:intel_hdmi_set_edid] get edid[drm:intel_hdmi_detect] intel_hdmi_detect() end!
Jan 12 02:47:45 u-Precision-5510 kernel: [  590.511950] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:HDMI-A-2] disconnected
...

All FW (BIOS/Alpine Ridge/TI PD) has been upgraded to the latest version, and DUT will be shipped to your place soon. Thanks!
Comment 20 Gary Wang 2016-01-12 08:25:34 UTC
Created attachment 120982 [details]
some log for comment #19

Hi Jim, 
I uploaded log for issue being happened in comment #19. It's more clear.

Thanks!
Comment 21 Gary Wang 2016-01-12 08:49:49 UTC
Created attachment 120984 [details]
Lack get resource drm ioctl from usespace

Hi Jim,
This is another fail log about live connection but get edid failed. It seems cannot get edid anymore even unplug/re-plug.
Comment 22 Gary Wang 2016-01-14 04:47:46 UTC
Hi Jim, I forget to summery symptoms for your reference.

For comment #19~#21,
Much HDMI probing operating for each unplug/re-plug then caused HDMI disconnected with symptoms like HDMI’s status being live but read edid failed or edid reading successfully but lacking of initial display from user-space.

Thanks for your help!
Comment 23 Gary Wang 2016-01-28 03:30:10 UTC
Hi Timo,
Because much patch for SKL were merged in upstream i915 and its fail-rate is major decreased. Could you please help to let Canonocal'QA team verify again on the latest drm-intel-nightly? Thanks!
Comment 24 Jani Nikula 2016-06-17 16:51:16 UTC
Timo, uh, this is getting a bit old, still an issue?
Comment 25 Timo Aaltonen 2016-06-19 15:12:51 UTC
I think this was a combination of a vbios and i915 not working together, later bios version allowed bisecting a fix to backport.. fixed in 4.4 and up (237ed86c693d8a)
Comment 26 Jani Nikula 2016-06-20 09:34:26 UTC
Thanks for the follow-up.

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.