diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2024-07-12 17:29:07 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-27 17:32:32 -0400 |
commit | df18a4de9e77ad92c472fd1eb0fb1255d52dd4cd (patch) | |
tree | 80efcb30540647f2f85d90fac3324ac1e43efd13 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 4981bd4749fa769b3d6acbc82fe8059c030d0920 (diff) | |
download | linux-df18a4de9e77ad92c472fd1eb0fb1255d52dd4cd.tar.gz linux-df18a4de9e77ad92c472fd1eb0fb1255d52dd4cd.tar.bz2 linux-df18a4de9e77ad92c472fd1eb0fb1255d52dd4cd.zip |
drm/amd/display: Reset VRR config during resume
[Why]
After resume the system, the new_crtc_state->vrr_infopacket does not
synchronize with the current state. It will affect the
update_freesync_state_on_stream() does not update the state correctly.
The previous patch causes a PSR SU regression that cannot let panel go
into self-refresh mode.
[How]
Reset the VRR config during resume to force update the VRR config later.
Fixes: eb6dfbb7a9c6 ("drm/amd/display: Reset freesync config before update new state")
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Reviewed-by: Sun peng Li <sunpeng.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions