aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorGabe Teeger <[email protected]>2022-03-14 16:07:14 +0000
committerAlex Deucher <[email protected]>2022-03-25 16:40:25 +0000
commite5fc78252ccd8dfc260f87d83905e9dffff6d975 (patch)
treea84bf29d9e45605c06f2654db54a60382987ce09 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amdgpu/vcn: Fix the register setting for vcn1 (diff)
downloadkernel-e5fc78252ccd8dfc260f87d83905e9dffff6d975.tar.gz
kernel-e5fc78252ccd8dfc260f87d83905e9dffff6d975.zip
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 <[email protected]> Acked-by: Alex Hung <[email protected]> Signed-off-by: Gabe Teeger <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions