diff options
author | David Francis <[email protected]> | 2019-02-21 15:04:05 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-03-19 15:36:49 -0500 |
commit | c6ade4ee7375c0bb47ba25be53918eaa842ae263 (patch) | |
tree | bf17992af2e8c3fe77a6d2ad1182c20a18fb3636 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 0dcdcc898234f87c996adb5de1496e3ec7da315b (diff) |
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 <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Leo Li <[email protected]>
Acked-by: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions