diff options
author | Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> | 2024-03-04 11:40:23 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-20 13:38:11 -0400 |
commit | bcebe44f6bb6d9a85e0710d0086bc3956e6887ba (patch) | |
tree | 786d52fb4badc8856dbf7657eb07603a8ed36e6c /drivers/gpu/drm/amd/display/modules/freesync | |
parent | 55fdfddddbbc6365a33757bb009be5f64902c019 (diff) | |
download | linux-stable-bcebe44f6bb6d9a85e0710d0086bc3956e6887ba.tar.gz linux-stable-bcebe44f6bb6d9a85e0710d0086bc3956e6887ba.tar.bz2 linux-stable-bcebe44f6bb6d9a85e0710d0086bc3956e6887ba.zip |
drm/amd/display: Remove wrong signal from vrr calculation
In some of the merge conflict fixes, one '+' was accidentally left at
the beginning of the line. Fortunately, this did not cause any major
issues since it acted as a number signal. This commit addresses this
issue by removing the extra '+'.
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/modules/freesync')
-rw-r--r-- | drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c index b19ef58d1555..d09627c15b9c 100644 --- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c +++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c @@ -1057,7 +1057,7 @@ void mod_freesync_build_vrr_params(struct mod_freesync *mod_freesync, in_out_vrr->fixed_refresh_in_uhz = 0; refresh_range = div_u64(in_out_vrr->max_refresh_in_uhz + 500000, 1000000) - -+ div_u64(in_out_vrr->min_refresh_in_uhz + 500000, 1000000); + div_u64(in_out_vrr->min_refresh_in_uhz + 500000, 1000000); in_out_vrr->supported = true; } |