diff options
| author | Hamza Mahfooz <[email protected]> | 2023-08-04 11:13:04 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-07 17:14:07 -0400 |
| commit | a7c0cad0dc060bb77e9c9d235d68441b0fc69507 (patch) | |
| tree | 08b728780a5e7b82feba9af040b6b18d69b0976a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2105a15a20463cb6cee3061f309aeaabd2996d94 (diff) | |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions