summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_mode.h
diff options
context:
space:
mode:
authorAlex Deucher2009-10-15 22:16:35 +0200
committerDave Airlie2009-10-16 00:46:52 +0200
commit0294cf4f7f895ddcf284b1ce7cf27a2c9d7106f7 (patch)
tree7c69f11e946519457c08e8106c05df1a850b77fd /drivers/gpu/drm/radeon/radeon_mode.h
parentdrm/radeon/kms: fix internal tmds setup on legacy display engine (diff)
downloadkernel-qcow2-linux-0294cf4f7f895ddcf284b1ce7cf27a2c9d7106f7.tar.gz
kernel-qcow2-linux-0294cf4f7f895ddcf284b1ce7cf27a2c9d7106f7.tar.xz
kernel-qcow2-linux-0294cf4f7f895ddcf284b1ce7cf27a2c9d7106f7.zip
drm/radeon/kms: fix connector edid handling
Based partly on a patch from Christian Koenig <deathsimple@vodafone.de> - fix several memory leaks in radeon_connector->edid handling - store edid in radeon_connector->edid in detect() or get_modes() - switch hdmi detect code to use radeon_connector->edid - add support for oem boards multiple connectors that share a ddc line. - short circuit lvds_detect() if have a stored edid Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_mode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h
index 3d2631be073c..b6868fbe7346 100644
--- a/drivers/gpu/drm/radeon/radeon_mode.h
+++ b/drivers/gpu/drm/radeon/radeon_mode.h
@@ -297,6 +297,8 @@ struct radeon_connector {
uint32_t connector_id;
uint32_t devices;
struct radeon_i2c_chan *ddc_bus;
+ /* some systems have a an hdmi and vga port with a shared ddc line */
+ bool shared_ddc;
bool use_digital;
/* we need to mind the EDID between detect
and get modes due to analog/digital/tvencoder */