[PATCH] drm/amdgpu/display: Make dcn31_set_low_power_state static

Harry Wentland harry.wentland at amd.com
Mon Apr 25 18:56:36 UTC 2022


On 2022-04-25 12:11, Alex Deucher wrote:
> It's not used outside of dcn31_clk_mgr.c.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> 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/clk_mgr/dcn31/dcn31_clk_mgr.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
> index 969b40250434..ceb34376decb 100644
> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
> @@ -615,7 +615,7 @@ static void dcn31_clk_mgr_helper_populate_bw_params(struct clk_mgr_internal *clk
>   	}
>   }
>   
> -void dcn31_set_low_power_state(struct clk_mgr *clk_mgr_base)
> +static void dcn31_set_low_power_state(struct clk_mgr *clk_mgr_base)
>   {
>   	int display_count;
>   	struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);


More information about the amd-gfx mailing list