mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Alvin Lee 964d641632 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 <Jun.Lei@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-11-09 17:41:41 -05:00
..
amdgpu_dm drm/amd/display: Only update link settings after successful MST link train 2022-11-09 17:41:41 -05:00
dc drm/amd/display: Add margin for max vblank time for SubVP + DRR 2022-11-09 17:41:41 -05:00
dmub drm/amd/display: Waiting for 1 frame to fix the flash issue on PSR1 2022-11-09 17:24:57 -05:00
include drm/amd/display: Refactor LTTPR mode selection 2022-09-29 09:41:46 -04:00
modules drm/amd/display: Set correct EOTF and Gamut flag in VRR info 2022-11-09 17:41:41 -05:00
Kconfig drm/amd/display: add DCN support for ARM64 2022-11-04 16:05:54 -04:00
Makefile
TODO