[PATCH 05/17] drm/amd/display: Remove redundant FPU guard

Hamza Mahfooz hamza.mahfooz at amd.com
Wed Feb 14 18:48:26 UTC 2024


On 2/14/24 13:38, Rodrigo Siqueira wrote:
> The function dcn32_build_wm_range_table call DC_FP_START/END. Drop the
> unnecessary FPU guard.
> 
> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>

Reviewed-by: Hamza Mahfooz <hamza.mahfooz at amd.com>

> ---
>   drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
> index e64e45e4c833..ee5e7512a7ee 100644
> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
> @@ -243,10 +243,8 @@ void dcn32_init_clocks(struct clk_mgr *clk_mgr_base)
>   	/* Get UCLK, update bounding box */
>   	clk_mgr_base->funcs->get_memclk_states_from_smu(clk_mgr_base);
>   
> -	DC_FP_START();
>   	/* WM range table */
>   	dcn32_build_wm_range_table(clk_mgr);
> -	DC_FP_END();
>   }
>   
>   static void dcn32_update_clocks_update_dtb_dto(struct clk_mgr_internal *clk_mgr,
-- 
Hamza



More information about the amd-gfx mailing list