Commit 67edb81
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 d787934)
Cc: [email protected]1 parent b0a3e84 commit 67edb81
File tree
3 files changed
+6
-4
lines changed- drivers/gpu/drm/amd/display/amdgpu_dm
3 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8896 | 8896 | | |
8897 | 8897 | | |
8898 | 8898 | | |
| 8899 | + | |
8899 | 8900 | | |
8900 | 8901 | | |
8901 | 8902 | | |
| |||
8922 | 8923 | | |
8923 | 8924 | | |
8924 | 8925 | | |
8925 | | - | |
| 8926 | + | |
| 8927 | + | |
8926 | 8928 | | |
8927 | 8929 | | |
8928 | 8930 | | |
| |||
9266 | 9268 | | |
9267 | 9269 | | |
9268 | 9270 | | |
9269 | | - | |
| 9271 | + | |
9270 | 9272 | | |
9271 | 9273 | | |
9272 | 9274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments