[PATCH] drm/amd/display: make dcn32_split_stream_for_mpc_or_odm static

Harry Wentland harry.wentland at amd.com
Tue Oct 11 14:30:44 UTC 2022


On 2022-10-11 09:41, Alex Deucher wrote:
> It's not used outside of dcn32_fpu.c.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Fixes: 20dad3813b3c15 ("drm/amd/display: Add a helper to map ODM/MPC/Multi-Plane resources")
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
> index 2a3f5a485b2b..819de0f11012 100644
> --- a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
> +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
> @@ -1372,7 +1372,7 @@ static struct pipe_ctx *dcn32_find_split_pipe(
>  	return pipe;
>  }
>  
> -bool dcn32_split_stream_for_mpc_or_odm(
> +static bool dcn32_split_stream_for_mpc_or_odm(
>  		const struct dc *dc,
>  		struct resource_context *res_ctx,
>  		struct pipe_ctx *pri_pipe,



More information about the amd-gfx mailing list