Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c130 int disp_divider = 0; in dcn20_update_clocks_update_dentist() local
141 disp_divider = DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn20_update_clocks_update_dentist()
145 dispclk_wdivider = dentist_get_did_from_divider(disp_divider); in dcn20_update_clocks_update_dentist()
430 int disp_divider; in dcn2_read_clocks_from_hw_dentist() local
436 disp_divider = dentist_get_divider_from_did(dispclk_wdivider); in dcn2_read_clocks_from_hw_dentist()
439 if (disp_divider && dpp_divider) { in dcn2_read_clocks_from_hw_dentist()
442 * clk_mgr->base.dentist_vco_freq_khz) / disp_divider; in dcn2_read_clocks_from_hw_dentist()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c279 int disp_divider = 0; in dcn32_update_dppclk_dispclk_freq() local
287 disp_divider = DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn32_update_dppclk_dispclk_freq()
289 …clk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / disp_divider; in dcn32_update_dppclk_dispclk_freq()
441 int disp_divider; in dcn32_get_dispclk_from_dentist() local
444 disp_divider = dentist_get_divider_from_did(dispclk_wdivider); in dcn32_get_dispclk_from_dentist()
447 if (disp_divider) in dcn32_get_dispclk_from_dentist()
448 return (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / disp_divider; in dcn32_get_dispclk_from_dentist()