drm/i915: try another possible DDC bus for the SDVO device with multiple outputs
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 8 Jan 2010 02:58:20 +0000 (10:58 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Jan 2010 18:49:39 +0000 (10:49 -0800)
commited0cd89c7333b17d50812201602f436b57ef1482
tree1985ea9c69733c785df865e2ab30f0ef5cbd8b04
parent4fb77a3f85d3e4633e6ef3a8b319f882caf7c623
drm/i915: try another possible DDC bus for the SDVO device with multiple outputs

commit 7c3f0a2726fed78e0e0afe3b6fc3c1f5b298e447 upstream.

There exist multiple DDC buses for the SDVO cards with multiple outputs.
When we can't get the EDID by using the select DDC bus, we can try the other
possible DDC bus to see whether the EDID can be obtained.

https://bugs.freedesktop.org/show_bug.cgi?id=23842

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Tested-by: Sebastien Caty <sebastien.caty@mrnf.gouv.qc.ca>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_sdvo.c