drm/radeon/kms: fix connector edid handling
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 15 Oct 2009 20:16:35 +0000 (16:16 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Oct 2009 22:46:52 +0000 (08:46 +1000)
commit0294cf4f7f895ddcf284b1ce7cf27a2c9d7106f7
tree7c69f11e946519457c08e8106c05df1a850b77fd
parent1b4d7d75ccff38008ccd40f8e2d74e33a087caaa
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>
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/radeon_mode.h