Star64_linux/drivers/gpu/drm/amd/display/dc
Alvin Lee 6f2239ccdf drm/amd/display: Keep GSL for full updates with planes that flip VSYNC
[Why]
When enabling PIP in Heaven, the PIP planes are VSYNC
flip and is also the top-most pipe. In this case GSL
will be disabled because we only check immediate flip
for the top pipe. However, the desktop planes are still
flip immediate so we should at least keep GSL on until
the full update.

[How]
Check each pipe in the tree to see if any planes
are flip immediate. Maintain the GSL lock if yes,
and take it down after when unlocking if any planes
are flipping VSYNC. Keeping GSL on with VSYNC +
flip immediate planes causes corruption.

Signed-off-by: Alvin Lee <alvin.lee2@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-11-02 15:30:05 -05:00
..
basics
bios
calcs
clk_mgr
core drm/amd/display: only check available pipe to disable vbios mode. 2020-11-02 15:29:54 -05:00
dce
dce60
dce80
dce100
dce110
dce112
dce120
dcn10
dcn20 drm/amd/display: Keep GSL for full updates with planes that flip VSYNC 2020-11-02 15:30:05 -05:00
dcn21 drm/amd/display: Force prefetch mode to 0 2020-11-02 15:29:59 -05:00
dcn30 drm/amd/display: Add MPC memory shutdown support for DCN3 2020-11-02 15:29:47 -05:00
dcn301
dcn302
dml
dsc drm/amd/display: Fix compilation error 2020-11-02 15:29:33 -05:00
gpio
hdcp
inc
irq
virtual
dc.h drm/amd/display: Add MPC memory shutdown support for DCN3 2020-11-02 15:29:47 -05:00
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c
dc_dmub_srv.h
dc_dp_types.h
dc_dsc.h
dc_helper.c
dc_hw_types.h
dc_link.h
dc_stream.h
dc_trace.h
dc_types.h
dm_cp_psp.h
dm_event_log.h
dm_helpers.h
dm_pp_smu.h
dm_services.h
dm_services_types.h
irq_types.h
Makefile
os_types.h