From: Jordan Lazare <Jordan.Lazare@xxxxxxx> Signed-off-by: Jordan Lazare <Jordan.Lazare at amd.com> Acked-by: Harry Wentland <harry.wentland at amd.com> --- drivers/gpu/drm/amd/dal/dc/core/dc_resource.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c index 4e76d5dbbac0..0578052859e3 100644 --- a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c @@ -493,9 +493,6 @@ static void calculate_scaling_ratios( pipe_ctx->scl_data.ratios.horz.value = div64_s64( pipe_ctx->scl_data.ratios.horz.value * in_w, out_w); - pipe_ctx->scl_data.ratios.horz.value++; - pipe_ctx->scl_data.ratios.vert.value++; - pipe_ctx->scl_data.ratios.horz_c = pipe_ctx->scl_data.ratios.horz; pipe_ctx->scl_data.ratios.vert_c = pipe_ctx->scl_data.ratios.vert; -- 2.10.1