Re: [PATCH 2/2] drm/amd/display: make get_refresh_rate() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2022-07-06 10:08, Alex Deucher wrote:
> It's not used outside of dcn30_resource.c.
> 
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> ---

Both patches are
Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx>

Harry

>  drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
> index 4f684235a413..7f01463942fb 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
> @@ -1899,7 +1899,7 @@ noinline bool dcn30_internal_validate_bw(
>  	return out;
>  }
>  
> -int get_refresh_rate(struct dc_state *context)
> +static int get_refresh_rate(struct dc_state *context)
>  {
>  	int refresh_rate = 0;
>  	int h_v_total = 0;




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux