summaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorGergo Koteles <soyer@irl.hu>2025-04-02 19:03:31 +0200
committerAlex Deucher <alexander.deucher@amd.com>2025-04-22 16:51:17 -0400
commitb316727a27d0dac1e6b7ae51204df4d0f241fcc2 (patch)
treed67f4a54400de0626c0ffda44ed7e0570ca8a729 /rust/helpers/task.c
parent6ed0dc3fd39558f48119daf8f99f835deb7d68da (diff)
downloadlinux-b316727a27d0dac1e6b7ae51204df4d0f241fcc2.tar.gz
linux-b316727a27d0dac1e6b7ae51204df4d0f241fcc2.tar.bz2
linux-b316727a27d0dac1e6b7ae51204df4d0f241fcc2.zip
drm/amd/display: do not copy invalid CRTC timing info
Since b255ce4388e0, 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: b255ce4388e0 ("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 20232192a5044d1f66dcbef0a24de1bb8157738d) Cc: stable@vger.kernel.org
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions