1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: Add support for zstate during extended vblank 2022-03-25 12:40:25 -04:00
bw_fixed.h drm/amd/display: explicit uint64_t casting 2018-11-05 14:20:50 -05:00
clock_source.h drm/amd/display: Synchronize displays with different timings 2021-02-22 18:05:48 -05:00
compressor.h drm/amd/display: fbc state could not reach while enable fbc 2018-11-30 12:02:35 -05:00
core_status.h drm/amd/display: support dynamic HPO DP link encoder allocation 2021-12-30 08:54:45 -05:00
core_types.h drm/amd/display: move link_hwss to link folder and break down to files 2022-02-02 18:26:32 -05:00
custom_float.h drm/amd/display: Enable regamma 25 segments and use double buffer. 2017-09-26 17:14:18 -04:00
dc_link_ddc.h drm/amd/display: USB4 DPIA enumeration and AUX Tunneling 2021-10-06 15:50:56 -04:00
dc_link_dp.h drm/amd/display: add cable ID support for usb c connector 2022-02-23 14:22:03 -05:00
dc_link_dpia.h drm/amd/display: define link res and make it accessible to all link interfaces 2021-12-30 08:54:44 -05:00
dce_calcs.h drm/amdgpu/display: remove VEGAM config option 2018-05-18 16:08:18 -05:00
dcn_calc_math.h drm/amd/display: fixup DML dependencies 2020-01-16 14:16:48 -05:00
dcn_calcs.h drm/amd/display: Rename dcn_validate_bandwidth to dcn10_validate_bandwidth 2021-11-24 14:06:52 -05:00
dml_wrapper.h drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00
hw_sequencer.h drm/amd/display: implement dc_mode_memclk 2021-12-14 16:08:41 -05:00
hw_sequencer_private.h drm/amd/display: Wait for hubp read line for Pollock 2022-03-15 14:41:55 -04:00
link_dpcd.h drm/amd/display: temporarly move non link_hwss code to dc_link_dp 2022-02-02 18:26:32 -05:00
link_enc_cfg.h drm/amd/display: Fix double free during GPU reset on DC streams 2022-03-15 14:25:16 -04:00
link_hwss.h drm/amd/display: move link_hwss to link folder and break down to files 2022-02-02 18:26:32 -05:00
reg_helper.h drm/amd/display: Support synchronized indirect reg access 2022-01-25 18:00:35 -05:00
resource.h Merge tag 'amd-drm-next-5.18-2022-02-11-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2022-02-14 10:31:51 +10:00
vm_helper.h drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00