From: YueHaibing Date: Mon, 28 Oct 2019 13:34:36 +0000 (+0800) Subject: drm/amd/display: Make calculate_integer_scaling static X-Git-Tag: v5.10.7~3692^2~29^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ef0b9d0a10eab55d36dc2f3ea316163c4addf8c;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/display: Make calculate_integer_scaling static Fix sparse warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:963:6: warning: symbol 'calculate_integer_scaling' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index 70e601a..3769830 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -960,7 +960,7 @@ static bool are_rects_integer_multiples(struct rect src, struct rect dest) return false; } -void calculate_integer_scaling(struct pipe_ctx *pipe_ctx) +static void calculate_integer_scaling(struct pipe_ctx *pipe_ctx) { if (!pipe_ctx->plane_state->scaling_quality.integer_scaling) return;