linux/drivers/gpu/drm/amd
Taimur Hassan 99d1437aa0 drm/amd/display: Check for flip pending before locking pipes.
[Why]
When running a game/benchmark with v-sync disabled, disabling a plane
(which is v-sync) can cause an underflow. This is due to flips that are
pending before pipe locking being applied after locks are released and
pipes have been re-arranged or disconnected. This can potentially apply
a flip on the incorrect pipe.

[How]
Check that any pending flips are cleared before locking any pipes to
ensure flips are applied on the correct pipes.

Signed-off-by: Taimur Hassan <syed.hassan@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-09-22 12:28:56 -04:00
..
acp
amdgpu drm/amdgpu: Fix dead lock issue for vblank 2020-09-22 12:25:15 -04:00
amdkfd drm/amdkfd: Use kvmalloc instead of kmalloc for VCRAT 2020-09-22 12:27:03 -04:00
display drm/amd/display: Check for flip pending before locking pipes. 2020-09-22 12:28:56 -04:00
include drm/amdgpu: add VCN 3.0 AV1 registers 2020-09-17 18:01:46 -04:00
pm drm/amd/pm: Skip smu_post_init in SRIOV 2020-09-18 16:14:56 -04:00