Bug 86817

Summary: HDMI unplug doesn't actually disable the output (video/audio)
Product: DRI Reporter: Timo Aaltonen <tjaalton>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE 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:
i915 platform: i915 features:

Description Timo Aaltonen 2014-11-28 10:37:07 UTC
This happens with both drm-intel-next and -nightly.

Nov 28 12:23:58 wilson kernel: [   76.599528] [drm:intel_hpd_irq_handler] hotplug event received, stat 0x00400000, dig 0x10101210
Nov 28 12:23:58 wilson kernel: [   76.599533] [drm:intel_hpd_irq_handler] Received HPD interrupt on PIN 5 - cnt: 0
Nov 28 12:23:58 wilson kernel: [   76.599562] [drm:i915_hotplug_work_func] running encoder hotplug functions
Nov 28 12:23:58 wilson kernel: [   76.599571] [drm:i915_hotplug_work_func] Connector HDMI-A-2 (pin 5) received hotplug event.
Nov 28 12:23:58 wilson kernel: [   76.599574] [drm:intel_hdmi_detect] [CONNECTOR:35:HDMI-A-2]
Nov 28 12:23:58 wilson kernel: [   76.624704] [drm:drm_detect_monitor_audio] Monitor has basic audio support

running xrandr resets the state.
Comment 1 Damien Lespiau 2014-12-03 14:55:14 UTC
Are you doing something special with the connector? like removing it slowly? the HDMI HPD pin is shorter, so we'll detect HPD toggling and but will still be able to fetch a valid EDID.
Comment 2 Jani Nikula 2015-02-12 13:20:16 UTC
(In reply to Damien Lespiau from comment #1)
> Are you doing something special with the connector? like removing it slowly?
> the HDMI HPD pin is shorter, so we'll detect HPD toggling and but will still
> be able to fetch a valid EDID.

Timo, please provide the info.
Comment 3 Timo Aaltonen 2015-02-12 13:42:32 UTC
What a coincidence, I found this bug on a forgotten tab and did some testing :)

So yes, pulling the plug slightly slower indeed does that.. never noticed it before. Dunno if there's anything to be done then.
Comment 4 Jani Nikula 2015-02-12 13:58:11 UTC
Heh. Thanks for the info.

We could wait a bit before doing detection on unplug. I'll leave the bug open.
Comment 5 Damien Lespiau 2015-03-14 04:38:02 UTC
We seem to already have one enhancement request opened about it. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 76464 ***

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.