]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Remove wrong signal from vrr calculation
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Mon, 4 Mar 2024 18:40:23 +0000 (11:40 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Mar 2024 17:38:11 +0000 (13:38 -0400)
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>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c

index b19ef58d1555a192c87c70f8dcdb67d0180f976c..d09627c15b9c2274a2d92e23741ac29b1f9b3f1c 100644 (file)
@@ -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;
        }