drm/i915/sdvo: If we have an EDID confirm it matches the mode of the connection
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Feb 2011 20:01:16 +0000 (20:01 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:23 +0000 (14:54 -0800)
commit72dbf48873c4bfaf68e400096941e30366fbb6e1
tree07d4bd91d34dd2af47377db0acfb6c5156e38b58
parentda0ec09d40f661a82cf803f48d4cbc76dc15c715
drm/i915/sdvo: If we have an EDID confirm it matches the mode of the connection

commit 139467433e50926d22338e9dc754feaaf94b9db0 upstream.

If we have an EDID for a digital panel, but we are probing a non-TMDS
connector then we know that this is a false detection, and vice versa.
This should reduce the number of bogus outputs on multi-function
adapters that report the same output on multiple connectors.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34101
Reported-by: Sebastien Caty <sebastien.caty@mrnf.gouv.qc.ca>
Tested-by: Sebastien Caty <sebastien.caty@mrnf.gouv.qc.ca>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_sdvo.c