aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
diff options
context:
space:
mode:
authorTom Chung <chiahsuan.chung@amd.com>2024-06-17 15:59:06 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-07-01 16:06:52 -0400
commiteb6dfbb7a9c67c7d9bcdb9f9b9131270e2144e3d (patch)
treebe025b14455a421f879fe55036395e8de6f07f73 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
parentdrm/amd/display: Add replay state entry to replay_state (diff)
downloadlinux-eb6dfbb7a9c67c7d9bcdb9f9b9131270e2144e3d.tar.gz
linux-eb6dfbb7a9c67c7d9bcdb9f9b9131270e2144e3d.zip
drm/amd/display: Reset freesync config before update new state
[Why] Sometimes the new_crtc_state->vrr_infopacket did not sync up with the current state. It will affect the update_freesync_state_on_stream() does not update the state correctly. [How] Reset the freesync config before get_freesync_config_for_crtc() to make sure we have the correct new_crtc_state for VRR. Reviewed-by: Sun peng Li <sunpeng.li@amd.com> Signed-off-by: Jerry Zuo <jerry.zuo@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c')
0 files changed, 0 insertions, 0 deletions