Commit f81305b3 authored by Alex Deucher's avatar Alex Deucher Committed by Ben Hutchings

drm/radeon: call drm_edid_to_eld when we update the edid

commit 16086279 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: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 8dd0cd27
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment