Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: stable@vger.kernel.org
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Stylon Wang and committed by
Alex Deucher
57321eae 81b437f5

+1
+1
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 2202 2202 2203 2203 drm_connector_update_edid_property(connector, 2204 2204 aconnector->edid); 2205 + drm_add_edid_modes(connector, aconnector->edid); 2205 2206 2206 2207 if (aconnector->dc_link->aux_mode) 2207 2208 drm_dp_cec_set_edid(&aconnector->dm_dp_aux.aux,