drm/i915/sdvo: Defer detection of output capabilities until probing
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Jan 2011 20:10:52 +0000 (20:10 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:26:55 +0000 (20:26 +0000)
commit97aaf910731b03b27b1c4c8a58006a1dc99dcd9a
treee2c7b88b5108059e4f016d923cb047220babf9e7
parent3c5a62b5226ca5db993660281e9c2a7275d9fb02
drm/i915/sdvo: Defer detection of output capabilities until probing

Alex Fiestas reported an issue with his HDMI connector being misdetected
as DVI unless he had something connected upon boot. By moving the
decision as to whether to use HDMI or DVI encoding for the HDMI capable
output until we probe the monitor means that we should avoid sending a
HDMI signal to a DVI monitor and also correctly detect hardware like
Alex's.

However, to really determine what connector is soldered onto the wire we
need to inspect the VBT sdvo child devices - but can we trust it?

Reported-by: Alex Fiestas <alex@eyeos.org>
Tested-by: Alex Fiestas <alex@eyeos.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32828
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_sdvo.c