mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Hamza Mahfooz a7c0cad0dc drm/amd/display: ensure async flips are only accepted for fast updates
We should be checking to see if async flips are supported in
amdgpu_dm_atomic_check() (i.e. not dm_crtc_helper_atomic_check()). Also,
async flipping isn't supported if a plane's framebuffer changes memory
domains during an atomic commit. So, move the check from
dm_crtc_helper_atomic_check() to amdgpu_dm_atomic_check() and check if
the memory domain has changed in amdgpu_dm_atomic_check().

Cc: stable@vger.kernel.org
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2733
Fixes: c1e18c44dc ("drm/amd/display: only accept async flips for fast updates")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-08-07 17:14:07 -04:00
..
amdgpu_dm drm/amd/display: ensure async flips are only accepted for fast updates 2023-08-07 17:14:07 -04:00
dc drm/amd/display: Read replay data from sink 2023-08-07 17:14:07 -04:00
dmub drm/amd/display: Add structs for Freesync Panel Replay 2023-08-07 17:12:49 -04:00
include drm/amd/display: Read replay data from sink 2023-08-07 17:14:07 -04:00
modules drm/amd/display: Add Freesync Panel DM code 2023-08-07 17:14:07 -04:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO