diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2014-03-31 11:19:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-30 21:52:14 -0700 |
commit | 6d611183634723139f9f77ecef77ed8cb1e5789c (patch) | |
tree | 5730af2d7e9f60e6b1d7ad9746cf00452c930adc | |
parent | dec8ba10d0770e4361259e52217ec81bea8d96a2 (diff) | |
download | lwn-6d611183634723139f9f77ecef77ed8cb1e5789c.tar.gz lwn-6d611183634723139f9f77ecef77ed8cb1e5789c.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 1 |
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 eb18bb7af1cc..06ccfe477650 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -729,6 +729,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); |