[PATCH] drm/amdgpu/display: make hubp31_program_extended_blank static

Harry Wentland harry.wentland at amd.com
Thu Apr 21 17:12:12 UTC 2022



On 2022-04-21 10:10, Alex Deucher wrote:
> It's not used outside of dcn31_hubp.c.
> 
> 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/dcn31/dcn31_hubp.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c
> index 8ae6117953ca..197a5cae068b 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c
> @@ -54,7 +54,8 @@ void hubp31_soft_reset(struct hubp *hubp, bool reset)
>   	REG_UPDATE(DCHUBP_CNTL, HUBP_SOFT_RESET, reset);
>   }
>   
> -void hubp31_program_extended_blank(struct hubp *hubp, unsigned int min_dst_y_next_start_optimized)
> +static void hubp31_program_extended_blank(struct hubp *hubp,
> +					  unsigned int min_dst_y_next_start_optimized)
>   {
>   	struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp);
>   


More information about the amd-gfx mailing list