diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2024-12-05 18:20:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-23 19:23:04 +0300 |
commit | 0f0c5ca1863e0cc7fe32ada6e78ac781be8ff377 (patch) | |
tree | 4ffe5c0ee87795433c9149de1093e72c49396684 /scripts/generate_rust_analyzer.py | |
parent | 583d3a42b2bf24583d81c6a6eb40a653eab0ba6e (diff) | |
download | linux-0f0c5ca1863e0cc7fe32ada6e78ac781be8ff377.tar.xz |
drm/amd/display: Disable replay and psr while VRR is enabled
commit 67edb81d6e9af43a0d58edf74630f82cfda4155d upstream.
[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 <sunpeng.li@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d7879340e987b3056b8ae39db255b6c19c170a0d)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions