Home
last modified time | relevance | path

Searched refs:dentist_vco_freq_khz (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
H A Ddce_clk_mgr.c150 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dce_get_dp_ref_freq_khz()
242 clk_mgr_dce->base.dentist_vco_freq_khz / 64); in dce_set_clock()
279 clk_mgr_dce->base.dentist_vco_freq_khz = bp->integrated_info->dentist_vco_freq; in dce_clock_read_integrated_info()
280 if (clk_mgr_dce->base.dentist_vco_freq_khz == 0) { in dce_clock_read_integrated_info()
281 clk_mgr_dce->base.dentist_vco_freq_khz = bp->fw_info.smu_gpu_pll_output_freq; in dce_clock_read_integrated_info()
282 if (clk_mgr_dce->base.dentist_vco_freq_khz == 0) in dce_clock_read_integrated_info()
283 clk_mgr_dce->base.dentist_vco_freq_khz = 3600000; in dce_clock_read_integrated_info()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
H A Drv1_clk_mgr.c334 clk_mgr->base.dentist_vco_freq_khz = bp->integrated_info->dentist_vco_freq; in rv1_clk_mgr_construct()
335 if (bp->fw_info_valid && clk_mgr->base.dentist_vco_freq_khz == 0) { in rv1_clk_mgr_construct()
336 clk_mgr->base.dentist_vco_freq_khz = bp->fw_info.smu_gpu_pll_output_freq; in rv1_clk_mgr_construct()
337 if (clk_mgr->base.dentist_vco_freq_khz == 0) in rv1_clk_mgr_construct()
338 clk_mgr->base.dentist_vco_freq_khz = 3600000; in rv1_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/
H A Ddcn201_clk_mgr.c206 REG_GET(CLK4_CLK_PLL_REQ, FbMult_int, &clk_mgr->base.dentist_vco_freq_khz); in dcn201_clk_mgr_construct()
207 clk_mgr->base.dentist_vco_freq_khz *= 100000; in dcn201_clk_mgr_construct()
209 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn201_clk_mgr_construct()
210 clk_mgr->base.dentist_vco_freq_khz = 3000000; in dcn201_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c304 * clk_mgr->base.dentist_vco_freq_khz / new_clocks->dppclk_khz; in dcn32_update_dppclk_dispclk_freq()
305 …new_clocks->dppclk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz)… in dcn32_update_dppclk_dispclk_freq()
309 * clk_mgr->base.dentist_vco_freq_khz / new_clocks->dispclk_khz; in dcn32_update_dppclk_dispclk_freq()
310 …dispclk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / disp_div… in dcn32_update_dppclk_dispclk_freq()
363 * clk_mgr->base.dentist_vco_freq_khz / clk_mgr->base.clks.dispclk_khz; in dcn32_update_clocks_update_dentist()
401 …dispclk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / temp_dis… in dcn32_update_clocks_update_dentist()
485 return (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / disp_divider; in dcn32_get_dispclk_from_dentist()
911 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
917 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
923 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c140 * clk_mgr->base.dentist_vco_freq_khz / clk_mgr->base.clks.dppclk_khz; in dcn20_update_clocks_update_dentist()
142 * clk_mgr->base.dentist_vco_freq_khz / clk_mgr->base.clks.dispclk_khz; in dcn20_update_clocks_update_dentist()
442 * clk_mgr->base.dentist_vco_freq_khz) / disp_divider; in dcn2_read_clocks_from_hw_dentist()
445 * clk_mgr->base.dentist_vco_freq_khz) / dpp_divider; in dcn2_read_clocks_from_hw_dentist()
574 clk_mgr->base.dentist_vco_freq_khz = dc_fixpt_floor(pll_req); in dcn20_clk_mgr_construct()
577 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn20_clk_mgr_construct()
578 clk_mgr->base.dentist_vco_freq_khz = 3850000; in dcn20_clk_mgr_construct()
582 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn20_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clk_mgr.c169 * clk_mgr_dce->dentist_vco_freq_khz) / target_div; in dce_get_dp_ref_freq_khz()
259 clk_mgr_dce->dentist_vco_freq_khz / 64); in dce_set_clock()
302 clk_mgr_dce->dentist_vco_freq_khz / 62); in dce112_set_clock()
354 clk_mgr_dce->dentist_vco_freq_khz = info.dentist_vco_freq; in dce_clock_read_integrated_info()
355 if (clk_mgr_dce->dentist_vco_freq_khz == 0) { in dce_clock_read_integrated_info()
357 clk_mgr_dce->dentist_vco_freq_khz = in dce_clock_read_integrated_info()
359 if (clk_mgr_dce->dentist_vco_freq_khz == 0) in dce_clock_read_integrated_info()
360 clk_mgr_dce->dentist_vco_freq_khz = 3600000; in dce_clock_read_integrated_info()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
H A Ddce112_clk_mgr.c83 clk_mgr_dce->base.dentist_vco_freq_khz / 62); in dce112_set_clock()
137 clk_mgr->base.dentist_vco_freq_khz / 62); in dce112_set_dispclk()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c336 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn401_dump_clk_registers()
342 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn401_dump_clk_registers()
348 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn401_dump_clk_registers()
354 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn401_dump_clk_registers()
360 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn401_dump_clk_registers()
366 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn401_dump_clk_registers()
600 * clk_mgr->base.dentist_vco_freq_khz / clk_mgr->base.clks.dispclk_khz; in dcn401_update_clocks_update_dentist()
1623 return (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / disp_divider; in dcn401_get_dispclk_from_dentist()
1676 clk_mgr->base.dentist_vco_freq_khz = dcn401_get_vco_frequency_from_reg(clk_mgr); in dcn401_clk_mgr_construct()
1679 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn401_clk_mgr_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn302/
H A Ddcn302_fpu.c217 dcn3_02_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn302_fpu_update_bw_bounding_box()
218 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn302_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
H A Ddcn30_clk_mgr.c543 clk_mgr->base.dentist_vco_freq_khz = dcn30_get_vco_frequency_from_reg(clk_mgr); in dcn3_clk_mgr_construct()
546 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn3_clk_mgr_construct()
547 clk_mgr->base.dentist_vco_freq_khz = 3650000; in dcn3_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn303/
H A Ddcn303_fpu.c213 dcn3_03_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn303_fpu_update_bw_bounding_box()
214 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn303_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/
H A Ddce60_clk_mgr.c101 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dce60_get_dp_ref_freq_khz()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
H A Ddcn316_clk_mgr.c627 clk_mgr->base.base.dentist_vco_freq_khz = 2500000; in dcn316_clk_mgr_construct()
630 if (clk_mgr->base.base.dentist_vco_freq_khz == 0) in dcn316_clk_mgr_construct()
631 clk_mgr->base.base.dentist_vco_freq_khz = 2500000; /* 2400MHz */ in dcn316_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H A Dvg_clk_mgr.c714 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in vg_clk_mgr_construct()
717 if (clk_mgr->base.base.dentist_vco_freq_khz == 0) in vg_clk_mgr_construct()
718 clk_mgr->base.base.dentist_vco_freq_khz = 3600000; in vg_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
H A Drn_clk_mgr.c737 clk_mgr->base.dentist_vco_freq_khz = get_vco_frequency_from_reg(clk_mgr); in rn_clk_mgr_construct()
740 if (clk_mgr->base.dentist_vco_freq_khz == 0) in rn_clk_mgr_construct()
741 clk_mgr->base.dentist_vco_freq_khz = 3600000; in rn_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/
H A Ddcn301_fpu.c377 dcn3_01_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn301_fpu_update_bw_bounding_box()
378 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn301_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dclk_mgr.h335 int dentist_vco_freq_khz; member
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c701 dcn3_21_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn321_update_bw_bounding_box_fpu()
702 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn321_update_bw_bounding_box_fpu()
703 …dc->dml2_options.bbox_overrides.disp_pll_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.… in dcn321_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.c656 dcn3_1_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn31_update_bw_bounding_box()
657 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn31_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddcn30_fpu.c653 dcn3_0_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn30_fpu_update_bw_bounding_box()
654 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn30_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn401/
H A Ddcn401_fpu.c168 …dc->dml2_options.bbox_overrides.disp_pll_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.… in dcn401_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c725 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in dcn31_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c836 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in dcn314_clk_mgr_construct()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c3137 dcn3_2_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn32_update_bw_bounding_box_fpu()
3138 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn32_update_bw_bounding_box_fpu()
3139 …dc->dml2_options.bbox_overrides.disp_pll_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.… in dcn32_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c1132 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in dcn35_clk_mgr_construct()

12