mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
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 <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
11436b0177
commit
4ef0b9d0a1
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user