linux/drivers/gpu/drm/amd/display/dc/inc/hw
Gabe Teeger e5fc78252c drm/amd/display: Add support for zstate during extended vblank
[why]
When we enter FREESYNC_STATE_VIDEO, we want to use the extra vblank
portion to enter zstate if possible.

[how]
When we enter freesync, a full update is triggered and the new vtotal
with extra lines is passed to dml in a stream update. The time gained
from extra vblank lines is calculated in microseconds. We allow zstate
entry if the time gained is greater than 5 ms, which is the current
policy. Furthermore, an optimized value for min_dst_y_next_start is
calculated and written to its register. When exiting freesync, another
full update is triggered and default values are restored.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-03-25 12:40:25 -04:00
..
abm.h
audio.h
aux_engine.h
clk_mgr_internal.h
clk_mgr.h drm/amd/display: implement dc_mode_memclk 2021-12-14 16:08:41 -05:00
dccg.h drm/amd/display: Drop DCN for DP2.x logic 2022-01-25 18:00:34 -05:00
dchubbub.h drm/amd/display: Add pstate verification and recovery for DCN31 2022-03-15 14:33:57 -04:00
dmcu.h
dpp.h
dsc.h drm/amd/display: fixed the DSC power off sequence during Driver PnP 2021-11-22 14:45:02 -05:00
dwb.h
gpio.h
hubp.h drm/amd/display: Add support for zstate during extended vblank 2022-03-25 12:40:25 -04:00
hw_shared.h drm/amd/display: Drop DCN for DP2.x logic 2022-01-25 18:00:34 -05:00
ipp.h
link_encoder.h drm/amd/display: add set dp lane settings to link_hwss 2022-02-02 18:26:32 -05:00
mcif_wb.h
mem_input.h
mpc.h
opp.h
panel_cntl.h drm/amd/display: Add save/restore PANEL_PWRSEQ_REF_DIV2 2022-03-15 14:42:01 -04:00
stream_encoder.h drm/amd/display: revert "Reset fifo after enable otg" 2022-02-02 18:26:31 -05:00
timing_generator.h drm/amd/display: Drop DCN for DP2.x logic 2022-01-25 18:00:34 -05:00
transform.h
vmid.h