/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 150 * 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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/ |
D | dcn201_clk_mgr.c | 196 clk_mgr->base.dentist_vco_freq_khz = 3000000; in dcn201_clk_mgr_construct() 204 REG_GET(CLK4_CLK_PLL_REQ, FbMult_int, &clk_mgr->base.dentist_vco_freq_khz); in dcn201_clk_mgr_construct() 205 clk_mgr->base.dentist_vco_freq_khz *= 100000; in dcn201_clk_mgr_construct() 207 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn201_clk_mgr_construct() 208 clk_mgr->base.dentist_vco_freq_khz = 3000000; in dcn201_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
D | dcn32_clk_mgr.c | 283 * clk_mgr->base.dentist_vco_freq_khz / new_clocks->dppclk_khz; in dcn32_update_dppclk_dispclk_freq() 284 …new_clocks->dppclk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz)… in dcn32_update_dppclk_dispclk_freq() 288 * clk_mgr->base.dentist_vco_freq_khz / new_clocks->dispclk_khz; in dcn32_update_dppclk_dispclk_freq() 289 …dispclk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR * clk_mgr->base.dentist_vco_freq_khz) / disp_div… in dcn32_update_dppclk_dispclk_freq() 542 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers() 548 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers() 554 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers() 560 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers() 566 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers() 793 clk_mgr->base.dentist_vco_freq_khz = dcn32_get_vco_frequency_from_reg(clk_mgr); in dcn32_clk_mgr_construct() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
D | rv1_clk_mgr.c | 337 clk_mgr->base.dentist_vco_freq_khz = bp->integrated_info->dentist_vco_freq; in rv1_clk_mgr_construct() 338 if (bp->fw_info_valid && clk_mgr->base.dentist_vco_freq_khz == 0) { in rv1_clk_mgr_construct() 339 clk_mgr->base.dentist_vco_freq_khz = bp->fw_info.smu_gpu_pll_output_freq; in rv1_clk_mgr_construct() 340 if (clk_mgr->base.dentist_vco_freq_khz == 0) in rv1_clk_mgr_construct() 341 clk_mgr->base.dentist_vco_freq_khz = 3600000; in rv1_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
D | dcn20_clk_mgr.c | 140 * 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() 552 clk_mgr->base.dentist_vco_freq_khz = 3850000; in dcn20_clk_mgr_construct() 576 clk_mgr->base.dentist_vco_freq_khz = dc_fixpt_floor(pll_req); in dcn20_clk_mgr_construct() 579 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn20_clk_mgr_construct() 580 clk_mgr->base.dentist_vco_freq_khz = 3850000; in dcn20_clk_mgr_construct() 584 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn20_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clk_mgr.c | 169 * 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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
D | dce112_clk_mgr.c | 83 clk_mgr_dce->base.dentist_vco_freq_khz / 62); in dce112_set_clock() 139 clk_mgr->base.dentist_vco_freq_khz / 62); in dce112_set_dispclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 544 clk_mgr->base.dentist_vco_freq_khz = 3650000; in dcn3_clk_mgr_construct() 550 clk_mgr->base.dentist_vco_freq_khz = dcn30_get_vco_frequency_from_reg(clk_mgr); in dcn3_clk_mgr_construct() 553 if (clk_mgr->base.dentist_vco_freq_khz == 0) in dcn3_clk_mgr_construct() 554 clk_mgr->base.dentist_vco_freq_khz = 3650000; in dcn3_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
D | dcn316_clk_mgr.c | 661 clk_mgr->base.base.dentist_vco_freq_khz = 2500000; in dcn316_clk_mgr_construct() 671 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in dcn316_clk_mgr_construct() 674 if (clk_mgr->base.base.dentist_vco_freq_khz == 0) in dcn316_clk_mgr_construct() 675 clk_mgr->base.base.dentist_vco_freq_khz = 2500000; /* 2400MHz */ in dcn316_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn302/ |
D | dcn302_fpu.c | 217 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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | vg_clk_mgr.c | 691 clk_mgr->base.base.dentist_vco_freq_khz = 3600000; in vg_clk_mgr_construct() 701 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in vg_clk_mgr_construct() 704 if (clk_mgr->base.base.dentist_vco_freq_khz == 0) in vg_clk_mgr_construct() 705 clk_mgr->base.base.dentist_vco_freq_khz = 3600000; in vg_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/ |
D | dce60_clk_mgr.c | 101 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dce60_get_dp_ref_freq_khz()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn303/ |
D | dcn303_fpu.c | 213 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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 730 clk_mgr->base.dentist_vco_freq_khz = 3600000; in rn_clk_mgr_construct() 742 clk_mgr->base.dentist_vco_freq_khz = get_vco_frequency_from_reg(clk_mgr); in rn_clk_mgr_construct() 745 if (clk_mgr->base.dentist_vco_freq_khz == 0) in rn_clk_mgr_construct() 746 clk_mgr->base.dentist_vco_freq_khz = 3600000; in rn_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 379 dcn3_01_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn301_update_bw_bounding_box() 380 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn301_update_bw_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | clk_mgr.h | 306 int dentist_vco_freq_khz; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
D | dcn321_fpu.c | 550 dcn3_21_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn321_update_bw_bounding_box_fpu() 551 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn321_update_bw_bounding_box_fpu()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 624 dcn3_1_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn31_update_bw_bounding_box() 625 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn31_update_bw_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 592 dcn3_0_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn30_fpu_update_bw_bounding_box() 593 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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 724 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in dcn31_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
D | dcn314_clk_mgr.c | 774 clk_mgr->base.base.dentist_vco_freq_khz = get_vco_frequency_from_reg(&clk_mgr->base); in dcn314_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 2391 dcn3_2_soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn32_update_bw_bounding_box_fpu() 2392 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = dc->clk_mgr->dentist_vco_freq_khz / 1000.0; in dcn32_update_bw_bounding_box_fpu()
|