linux/drivers/gpu/drm/amd
David Francis c6ade4ee73 drm/amd/display: On DCN1, Wait for vupdate on cursor updates
[Why]
Cursor updates must acquire the pipe control lock to
prevent vupdate from triggering in the middle of cursor
programming. On DCN1 the pipe control lock prevents
pageflips from occurring. This means that a cursor update
right before vupdate can delay a pending pageflip

[How]
If the time until the next vupdate is less than a
conservative estimate of the cursor programming time,
wait until the vupdate has passed before locking.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:36:49 -05:00
..
acp
amdgpu drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00
amdkfd drm/amdkfd: avoid HMM change cause circular lock 2019-03-19 15:03:37 -05:00
display drm/amd/display: On DCN1, Wait for vupdate on cursor updates 2019-03-19 15:36:49 -05:00
include drm/amd/amdgpu: Add ENGINE_CNTL register to vcn10 headers 2019-03-19 15:36:48 -05:00
lib
powerplay drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00