summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2014-03-31 11:19:46 -0400
committerBen Hutchings <ben@decadent.org.uk>2014-04-30 16:23:25 +0100
commitf81305b3826f8e69b2c57e8ef4bc7a72b029461c (patch)
tree706d83886250c3181941ad4cb26b6aca6f3143df
parent8dd0cd27909f04ddb5ffb7da306643da45f42b60 (diff)
downloadlinux-stable-f81305b3826f8e69b2c57e8ef4bc7a72b029461c.tar.gz
linux-stable-f81305b3826f8e69b2c57e8ef4bc7a72b029461c.tar.bz2
linux-stable-f81305b3826f8e69b2c57e8ef4bc7a72b029461c.zip
drm/radeon: call drm_edid_to_eld when we update the edid
commit 16086279353cbfecbb3ead474072dced17b97ddc upstream. This needs to be done to update some of the fields in the connector structure used by the audio code. Noticed by several users on irc. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--drivers/gpu/drm/radeon/radeon_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index 63e714307c8e..3291ab8e8f84 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -738,6 +738,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
if (radeon_connector->edid) {
drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid);
+ drm_edid_to_eld(&radeon_connector->base, radeon_connector->edid);
return ret;
}
drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);