Skip to content

Commit b24bdc3

Browse files
Stylon Wangalexdeucher
authored andcommitted
drm/amd/display: Fix EDID parsing after resume from suspend
[Why] Resuming from suspend, CEA blocks from EDID are not parsed and no video modes can support YUV420. When this happens, output bpc cannot go over 8-bit with 4K modes on HDMI. [How] In amdgpu_dm_update_connector_after_detect(), drm_add_edid_modes() is called after drm_connector_update_edid_property() to fully parse EDID and update display info. Cc: [email protected] Signed-off-by: Stylon Wang <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent abba907 commit b24bdc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,6 +2196,7 @@ void amdgpu_dm_update_connector_after_detect(
21962196

21972197
drm_connector_update_edid_property(connector,
21982198
aconnector->edid);
2199+
drm_add_edid_modes(connector, aconnector->edid);
21992200

22002201
if (aconnector->dc_link->aux_mode)
22012202
drm_dp_cec_set_edid(&aconnector->dm_dp_aux.aux,

0 commit comments

Comments
 (0)