Home
last modified time | relevance | path

Searched refs:should_set_clock (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clocks.c458 static inline bool should_set_clock(bool safe_to_lower, int calc_clk, int cur_clk) in should_set_clock() function
469 if (should_set_clock(safe_to_lower, new_clocks->dispclk_khz, dccg->clks.dispclk_khz)) { in dce12_update_clocks()
478 if (should_set_clock(safe_to_lower, new_clocks->phyclk_khz, dccg->clks.phyclk_khz)) { in dce12_update_clocks()
590 if (should_set_clock(safe_to_lower, new_clocks->phyclk_khz, dccg->clks.phyclk_khz)) { in dcn1_update_clocks()
596 if (should_set_clock(safe_to_lower, new_clocks->fclk_khz, dccg->clks.fclk_khz)) { in dcn1_update_clocks()
606 if (should_set_clock(safe_to_lower, new_clocks->dcfclk_khz, dccg->clks.dcfclk_khz)) { in dcn1_update_clocks()
613 if (should_set_clock(safe_to_lower, in dcn1_update_clocks()
635 if (should_set_clock(safe_to_lower, new_clocks->dispclk_khz, dccg->clks.dispclk_khz) in dcn1_update_clocks()
671 if (should_set_clock(safe_to_lower, new_clocks->dispclk_khz, dccg->clks.dispclk_khz)) { in dce_update_clocks()