]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:11 +0000 (09:32 -0700)
commit867d008ba440f7df63996722dc0f958b849291fb
tree162e31da34d632133bf3462f440cf5abcb1a7fee
parent7a4972b2b3b7479361663478983ba9f0e6cb4166
drm/I915: Use the CRT DDC to get the EDID for DVI-connector on Mac

commit 57cdaf90f5f607eb029356074fefb66c9b1c0659 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_sdvo.c