linux/drivers/gpu/drm/amd/display
Gergo Koteles b316727a27 drm/amd/display: do not copy invalid CRTC timing info
Since b255ce4388, it is possible that the CRTC timing
information for the preferred mode has not yet been
calculated while amdgpu_dm_connector_mode_valid() is running.

In this case use the CRTC timing information of the actual mode.

Fixes: b255ce4388 ("drm/amdgpu: don't change mode in amdgpu_dm_connector_mode_valid()")
Closes: https://lore.kernel.org/all/ed09edb167e74167a694f4854102a3de6d2f1433.camel@irl.hu/
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4085
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Reviewed-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 20232192a5)
Cc: stable@vger.kernel.org
2025-04-22 16:51:17 -04:00
..
amdgpu_dm drm/amd/display: do not copy invalid CRTC timing info 2025-04-22 16:51:17 -04:00
dc drm/amd/display: Use 16ms AUX read interval for LTTPR with old sinks 2025-04-22 16:49:15 -04:00
dmub drm/amd/display: Fix incorrect fw_state address in dmub_srv 2025-03-18 14:03:47 -04:00
include drm/amdgpu: Remove unused pre_surface_trace 2025-03-05 10:44:40 -05:00
modules drm/amd/display: Fix BT2020 YCbCr limited/full range input 2025-02-19 15:14:10 -05:00
Kconfig drm/amd/display: add CEC notifier to amdgpu driver 2025-01-10 11:58:57 -05:00
Makefile drm/amd/display: Refactor DCN3X into component folder 2024-06-14 16:18:55 -04:00