aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
diff options
context:
space:
mode:
authorAric Cyr <[email protected]>2020-09-18 11:45:04 -0400
committerAlex Deucher <[email protected]>2020-10-05 15:16:11 -0400
commitf7fb81a18f026b70e42ccc95c7d4485b0cdbfbbf (patch)
tree05232c30817f2ee9f02095aaa30b09febb28ba0d /drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
parent6fbd1e171075955852e5ddc3fadf8ac45f7ca464 (diff)
drm/amd/display: Check for flip pending before locking pipes
[Why] When running games or benchmarking with v-sync disabled, disabling a plane (which is v-sync) can cause underflow. This is caused by flips pending before pipe locking being applied after locks are released and pipes could have been re-arranged or disconnected. This could potentially apply a flip on incorrect pipe. Also, previous logic of always locking pipes was unnecessary. [How] Only lock the pipes when there is a pipe being disabled to increase efficiency. Before the pipes are locked, check that any pending flips are cleared to ensure the flips are applied to the correct pipe. Signed-off-by: Aric Cyr <[email protected]> Acked-by: Eryk Brol <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h')
0 files changed, 0 insertions, 0 deletions