diff options
| author | Hamza Mahfooz <[email protected]> | 2023-08-04 15:13:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-07 21:14:07 +0000 |
| commit | a7c0cad0dc060bb77e9c9d235d68441b0fc69507 (patch) | |
| tree | 08b728780a5e7b82feba9af040b6b18d69b0976a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amdgpu: use doorbell mgr for kfd process doorbells (diff) | |
| download | kernel-a7c0cad0dc060bb77e9c9d235d68441b0fc69507.tar.gz kernel-a7c0cad0dc060bb77e9c9d235d68441b0fc69507.zip | |
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: [email protected]
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2733
Fixes: c1e18c44dc7f ("drm/amd/display: only accept async flips for fast updates")
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
