diff options
| author | Tom Chung <[email protected]> | 2024-12-05 15:20:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-01-13 19:21:36 +0000 |
| commit | 67edb81d6e9af43a0d58edf74630f82cfda4155d (patch) | |
| tree | d774d6b8c4188cc86932b902e2a128f0e6ba401a /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amd/display: Fix PSR-SU not support but still call the amdgpu_dm_psr_enable (diff) | |
| download | kernel-67edb81d6e9af43a0d58edf74630f82cfda4155d.tar.gz kernel-67edb81d6e9af43a0d58edf74630f82cfda4155d.zip | |
drm/amd/display: Disable replay and psr while VRR is enabled
[Why]
Replay and PSR will cause some video corruption while VRR is enabled.
[How]
1. Disable the Replay and PSR while VRR is enabled.
2. Change the amdgpu_dm_crtc_vrr_active() parameter to const.
Because the function will only read data from dm_crtc_state.
Reviewed-by: Sun peng Li <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit d7879340e987b3056b8ae39db255b6c19c170a0d)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
