Bug 32828

Summary: HDMI detected as DVI some times
Product: xorg Reporter: Alex Fiestas <afiestas>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Defer HDMI/DVI till detection
none
Booting with HDMI cable connected
none
Booting WITHOUT hdmi connected
none
dmesg after connect the screen and try to play
none
Defer HDMI/DVI till detection none

Description Alex Fiestas 2011-01-04 12:19:09 UTC
If when I start my laptop the HDMI wire is not connected, xrandr reports a "DVI" interface, but if instead I start my laptop having the HDMI wire connected an HDMI interface is reported.

This seemed a painless issue to me until I discover that the sound is not streamed to the HDMI port when it is detected as DVI.
Comment 1 Chris Wilson 2011-01-04 12:23:45 UTC
Created attachment 41641 [details] [review]
Defer HDMI/DVI till detection
Comment 2 Alex Fiestas 2011-01-06 13:31:00 UTC
Seems that is not working, xrandr is still reporting "DVI1" as name instead of HDMI1, and sound is not being forwarded.

To test the patch I use linus+git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git + the patch.
Comment 3 Alex Fiestas 2011-01-07 07:23:45 UTC
Created attachment 41747 [details]
Booting with HDMI cable connected
Comment 4 Alex Fiestas 2011-01-07 07:24:24 UTC
Created attachment 41748 [details]
Booting WITHOUT hdmi connected
Comment 5 Alex Fiestas 2011-01-07 07:24:50 UTC
Created attachment 41749 [details]
dmesg after connect the screen and try to play
Comment 6 Chris Wilson 2011-01-07 10:00:47 UTC
Created attachment 41755 [details] [review]
Defer HDMI/DVI till detection
Comment 7 Alex Fiestas 2011-01-07 11:29:26 UTC
Last patch work like a charm :), thanks!
Comment 8 Chris Wilson 2011-01-11 15:15:30 UTC
Pushed to -fixes and pull request sent.

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.