linux/drivers/gpu/drm/amd/display/dc
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
..
basics
bios drm/amd/display: get socBB from VBIOS 2020-09-15 17:52:42 -04:00
calcs drm/amd/display: add DCN support for aarch64 2020-08-10 17:26:53 -04:00
clk_mgr drm/amd/display: dc/clk_mgr: make function static 2020-09-17 21:21:40 -04:00
core drm/amd/display: Check for flip pending before locking pipes. 2020-09-22 12:28:56 -04:00
dce drm/amd/display: Implement PSR wait for enable/disable 2020-09-22 12:28:49 -04:00
dce60 drm/amd/display: dc/dce60: use DCE6 headers (v6) 2020-07-27 16:46:45 -04:00
dce80 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce100 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce110 drm/amd/display: eDP intermittent black screen during PnP 2020-09-22 12:27:43 -04:00
dce112 drm/amd/display: remove redundant initialization of variable result 2020-07-27 16:21:11 -04:00
dce120 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dcn10 drm/amd/display: Check for flip pending before locking pipes. 2020-09-22 12:28:56 -04:00
dcn20 drm/amd/display: eDP intermittent black screen during PnP 2020-09-22 12:27:43 -04:00
dcn21 drm/amd/display: eDP intermittent black screen during PnP 2020-09-22 12:27:43 -04:00
dcn30 drm/amd/display: eDP intermittent black screen during PnP 2020-09-22 12:27:43 -04:00
dml drm/amd/display: Delete duplicated argument to '&&' or '||' 2020-09-17 21:22:16 -04:00
dsc drm/amd/display: Mask DPCD field to avoid reading unsupported field value 2020-08-17 14:09:06 -04:00
gpio drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
hdcp
inc drm/amd/display: Check for flip pending before locking pipes. 2020-09-22 12:28:56 -04:00
irq drm/amd/display: dc/irq: add support for DCE6 (v4) 2020-07-27 16:46:02 -04:00
virtual drm/amd/display: Rename set_mst_bandwidth to align with DP spec 2020-09-15 17:52:41 -04:00
dc.h drm/amd/display: 3.2.103 2020-09-22 12:27:27 -04:00
dc_bios_types.h drm/amd/display: get socBB from VBIOS 2020-09-15 17:52:42 -04:00
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: implement notify stream mask 2020-09-15 17:52:41 -04:00
dc_dmub_srv.h drm/amd/display: implement notify stream mask 2020-09-15 17:52:41 -04:00
dc_dp_types.h drm/amd/display: add option to override cr training pattern 2020-09-15 17:52:40 -04:00
dc_dsc.h drm/amd/display: Fix DSC force enable on SST 2020-08-17 14:08:34 -04:00
dc_helper.c drm/amd/display: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
dc_hw_types.h drm/amd/display: Implement AMD VSIF V3 2020-07-21 15:37:39 -04:00
dc_link.h drm/amd/display: DP link layer test 4.2.1.1 fix due to specs update 2020-07-01 01:59:26 -04:00
dc_stream.h drm/amd/display: Keep current gain when ABM disable immediately 2020-08-26 16:40:18 -04:00
dc_types.h drm/amd/display: Increase Max EDID Size Constant 2020-09-15 17:52:41 -04:00
dm_cp_psp.h drm/amd/display: enable assr 2020-07-01 01:59:25 -04:00
dm_event_log.h
dm_helpers.h drm/amd/display: Add DCN3 Support in DM (v2) 2020-07-01 01:59:15 -04:00
dm_pp_smu.h drm/amdgpu: drop BOOLEAN define in display part 2020-09-15 17:52:40 -04:00
dm_services.h drm/amd/display: Handle persistence in DM 2020-05-28 14:00:47 -04:00
dm_services_types.h
irq_types.h
Makefile drm/amd/display: dc/dce: add initial DCE6 support (v10) 2020-07-27 16:45:51 -04:00
os_types.h drm/amd/display: add DCN support for aarch64 2020-08-10 17:26:53 -04:00