drm/i915: sync hdmi detection by hdmi identifier with 2D
authorMa Ling <ling.ma@intel.com>
Thu, 2 Apr 2009 05:13:26 +0000 (13:13 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 8 Apr 2009 17:18:17 +0000 (10:18 -0700)
commit9dff6af860d6b7f661d4360eb859837afaca0a1b
tree7634eec5ea79f3855746372e379703ff791c9ae4
parent6115707be0e85a9b825f10e95143cb705b87fef8
drm/i915: sync hdmi detection by hdmi identifier with 2D

Currently we detect HDMI monitor by hardware detection, but if an HDMI-DVI
adapter is used to connect a DVI monitor, hardware detection will incorrectly
take monitor as HDMI. HDMI spec says any device containing IEEE registration
identifier will be treated as HDMI device.  The patch intends to detect HDMI
monitor by drm_detect_hdmi_monitor function which follows that rule.

Signed-off-by: Ma Ling <ling.ma@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_sdvo.c