drm/I915: Use the CRT DDC to get the EDID for DVI-connector on Mac
authorKeith Packard <keithp@keithp.com>
Fri, 4 Sep 2009 05:07:54 +0000 (13:07 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 20:05:45 +0000 (13:05 -0700)
commit57cdaf90f5f607eb029356074fefb66c9b1c0659
tree7d92b20b2fe0b5444624d29d93ad6e547cc53095
parent553bd149bb2de7848b2b84642876f27202421368
drm/I915: Use the CRT DDC to get the EDID for DVI-connector on Mac

mac Mini's have a single DDC line on the DVI connector, shared between the
analog link and the digital link. So, if DDC isn't detected on GPIOE (the
usual SDVO DDC link), try GPIOA (the usual VGA DDC link) when there isn't a
VGA monitor connected.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_sdvo.c