Bug 72833

Summary: [BDW]HDMI monitor unable to detected by hot-plug
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Paulo Zanoni <przanoni>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description Guo Jinxian 2013-12-18 11:41:32 UTC
Created attachment 90920 [details]
dmesg

Environment:
--------------------------
Platform: Broadwell
Kernel: (drm-intel-nightly) 22dd82bce1840fe48d683a29cccc443281b10248


Bug detailed description:
-----------------------------
HDMI monitor unable to detected by hot-plug

We tested hot-plug first time, and didn't find good point.

Steps:
---------------------------
1. boot OS only with eDP
2. Hot-plug HDMI cable, the monitor will show "HDMI NO SIGNAL"
3. If boot with HDMI, unplug then plug, HDMI monitor is able to detected.
Comment 1 Daniel Vetter 2014-01-09 08:21:51 UTC
What happens when you manually run xrandr in the failing case? Do we detect a monitor (i.e. is only the hotplug event not working) or do we completely fail to detect the screen?
Comment 2 Daniel Vetter 2014-01-09 08:28:15 UTC
Ỳang Guang said that booting with DP, unplug and then plugging in HDMI also doesn't work. Is that correct?
Comment 3 Guo Jinxian 2014-01-09 08:57:15 UTC
(In reply to comment #1)
> What happens when you manually run xrandr in the failing case? Do we detect
> a monitor (i.e. is only the hotplug event not working) or do we completely
> fail to detect the screen?

The HDMI is able to detect by xrandr, but the monitor shows "There is no signal coming from your computer". 

[root@x-bdw01 ~]# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 282mm x 165mm
   1920x1080      60.0*+   40.0
   1400x1050      60.0
   1280x1024      60.0
   1280x960       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected (normal left inverted right x axis y axis)
   1920x1200      60.0 +
   1920x1080      60.0     50.0     59.9     24.0     24.0
   1920x1080i     60.1     50.0     60.0
   1600x1200      60.0
   1280x1024      75.0     60.0
   1280x800       59.9
   1152x864       75.0
   1280x720       60.0     50.0     59.9
   1440x576i      50.1
   1024x768       75.1     60.0
   1440x480i      60.1     60.1
   800x600        75.0     60.3
   720x576        50.0
   720x480        60.0     59.9
   640x480        75.0     60.0     59.9
   720x400        70.1
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 4 Guo Jinxian 2014-01-09 09:07:26 UTC
(In reply to comment #2)
> Ỳang Guang said that booting with DP, unplug and then plugging in HDMI also
> doesn't work. Is that correct?

Yes, Guang is right.
Comment 5 Daniel Vetter 2014-01-10 07:55:03 UTC
Smells very much like we fail to set up some DDI state correctly. Paulo?
Comment 6 Jesse Barnes 2014-01-10 21:07:39 UTC
Please try this:

http://lists.freedesktop.org/archives/intel-gfx/2014-January/038161.html
Comment 7 Daniel Vetter 2014-01-14 13:43:55 UTC
This should be fixed with

commit 09f2344d0896eb458a639b922224c7a202c11599
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Fri Jan 10 13:13:09 2014 -0800

    drm/i915/bdw: make sure south port interrupts are enabled properly v2
Comment 8 Daniel Vetter 2014-01-14 13:44:10 UTC
*** Bug 72834 has been marked as a duplicate of this bug. ***
Comment 9 Guo Jinxian 2014-01-15 01:28:05 UTC
Our Broadwell doesn't work now, we are repairing it. And I will verify this bug when the Broadwell had repaired. Thanks.
Comment 10 Guo Jinxian 2014-01-15 03:02:26 UTC
Verified on latest -fixes (9f2344d0896eb458a639b922224c7a202c11599), this bug had fixed, thanks.
Comment 11 Elizabeth 2017-10-06 14:41:13 UTC
Closing old verified.

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.