aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorAlvin Lee <[email protected]>2022-10-30 19:56:53 +0000
committerAlex Deucher <[email protected]>2022-11-09 22:41:41 +0000
commit964d641632fa0c8eb52d577c23c1b5b5525a9bc7 (patch)
tree237cf7510f09d4515e7532e81a2a1b29a912337d /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentdrm/amd/display: Set correct EOTF and Gamut flag in VRR info (diff)
downloadkernel-964d641632fa0c8eb52d577c23c1b5b5525a9bc7.tar.gz
kernel-964d641632fa0c8eb52d577c23c1b5b5525a9bc7.zip
drm/amd/display: Add margin for max vblank time for SubVP + DRR
[Description] - Incorporate FW delays as port of max VTOTAL calculated for SubVP + DRR cases (since it is part of the microschedule). - Also add margin for the max VTOTAL possible for SubVP + DRR cases. - Due to rounding errors in FW (integer arithmetic), the microschedule calculation can get pushed to the next frame (incorrectly) in cases where we use the max VTOTAL possible to complete the MCLK switch. - When the rounding error occurs, we are only off by 1-2 lines, use 40us margin which is working consistently. Reviewed-by: Jun Lei <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Acked-by: Alan Liu <[email protected]> Signed-off-by: Alvin Lee <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions