/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr_vbios_smu.c | 148 khz_to_mhz_ceil(requested_dispclk_khz)); in rn_vbios_smu_set_dispclk() 160 ASSERT(actual_dispclk_set_mhz >= khz_to_mhz_ceil(requested_dispclk_khz)); in rn_vbios_smu_set_dispclk() 172 khz_to_mhz_ceil(clk_mgr->base.dprefclk_khz)); in rn_vbios_smu_set_dprefclk() 189 khz_to_mhz_ceil(requested_dcfclk_khz)); in rn_vbios_smu_set_hard_min_dcfclk() 208 khz_to_mhz_ceil(requested_min_ds_dcfclk_khz)); in rn_vbios_smu_set_min_deep_sleep_dcfclk() 218 khz_to_mhz_ceil(requested_phyclk_khz)); in rn_vbios_smu_set_phyclk() 229 khz_to_mhz_ceil(requested_dpp_khz)); in rn_vbios_smu_set_dppclk() 232 ASSERT(actual_dppclk_set_mhz >= khz_to_mhz_ceil(requested_dpp_khz)); in rn_vbios_smu_set_dppclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | dcn301_smu.c | 151 khz_to_mhz_ceil(requested_dispclk_khz)); in dcn301_smu_set_dispclk() 165 khz_to_mhz_ceil(clk_mgr->base.dprefclk_khz)); in dcn301_smu_set_dprefclk() 181 khz_to_mhz_ceil(requested_dcfclk_khz)); in dcn301_smu_set_hard_min_dcfclk() 199 khz_to_mhz_ceil(requested_min_ds_dcfclk_khz)); in dcn301_smu_set_min_deep_sleep_dcfclk() 213 khz_to_mhz_ceil(requested_dpp_khz)); in dcn301_smu_set_dppclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_smu.c | 168 khz_to_mhz_ceil(requested_dispclk_khz)); in dcn31_smu_set_dispclk() 183 khz_to_mhz_ceil(clk_mgr->base.dprefclk_khz)); in dcn31_smu_set_dprefclk() 203 khz_to_mhz_ceil(requested_dcfclk_khz)); in dcn31_smu_set_hard_min_dcfclk() 225 khz_to_mhz_ceil(requested_min_ds_dcfclk_khz)); in dcn31_smu_set_min_deep_sleep_dcfclk() 240 khz_to_mhz_ceil(requested_dpp_khz)); in dcn31_smu_set_dppclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
D | dcn314_smu.c | 183 khz_to_mhz_ceil(requested_dispclk_khz)); in dcn314_smu_set_dispclk() 198 khz_to_mhz_ceil(clk_mgr->base.dprefclk_khz)); in dcn314_smu_set_dprefclk() 218 khz_to_mhz_ceil(requested_dcfclk_khz)); in dcn314_smu_set_hard_min_dcfclk() 242 khz_to_mhz_ceil(requested_min_ds_dcfclk_khz)); in dcn314_smu_set_min_deep_sleep_dcfclk() 257 khz_to_mhz_ceil(requested_dpp_khz)); in dcn314_smu_set_dppclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
D | rv1_clk_mgr.c | 267 pp_smu->set_hard_min_fclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(new_clocks->fclk_khz)); in rv1_update_clocks() 268 pp_smu->set_hard_min_dcfclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(new_clocks->dcfclk_khz)); in rv1_update_clocks() 269 …pp_smu->set_min_deep_sleep_dcfclk(&pp_smu->pp_smu, khz_to_mhz_ceil(new_clocks->dcfclk_deep_sleep_k… in rv1_update_clocks() 287 pp_smu->set_hard_min_fclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(new_clocks->fclk_khz)); in rv1_update_clocks() 288 pp_smu->set_hard_min_dcfclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(new_clocks->dcfclk_khz)); in rv1_update_clocks() 289 …pp_smu->set_min_deep_sleep_dcfclk(&pp_smu->pp_smu, khz_to_mhz_ceil(new_clocks->dcfclk_deep_sleep_k… in rv1_update_clocks()
|
D | rv1_clk_mgr_vbios_smu.c | 136 khz_to_mhz_ceil(requested_dispclk_khz)); in rv1_vbios_smu_set_dispclk() 156 khz_to_mhz_ceil(clk_mgr->base.dprefclk_khz)); in rv1_vbios_smu_set_dprefclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
D | dcn316_smu.c | 174 khz_to_mhz_ceil(requested_dispclk_khz)); in dcn316_smu_set_dispclk() 192 khz_to_mhz_ceil(requested_dcfclk_khz)); in dcn316_smu_set_hard_min_dcfclk() 214 khz_to_mhz_ceil(requested_min_ds_dcfclk_khz)); in dcn316_smu_set_min_deep_sleep_dcfclk() 229 khz_to_mhz_ceil(requested_dpp_khz)); in dcn316_smu_set_dppclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
D | dcn32_clk_mgr.c | 211 < khz_to_mhz_ceil(clk_mgr_base->ctx->dc->debug.min_disp_clk_khz)) in dcn32_init_clocks() 213 = khz_to_mhz_ceil(clk_mgr_base->ctx->dc->debug.min_disp_clk_khz); in dcn32_init_clocks() 222 < khz_to_mhz_ceil(clk_mgr_base->ctx->dc->debug.min_dpp_clk_khz)) in dcn32_init_clocks() 224 = khz_to_mhz_ceil(clk_mgr_base->ctx->dc->debug.min_dpp_clk_khz); in dcn32_init_clocks() 358 …dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_DCFCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dcfclk_kh… in dcn32_update_clocks() 363 …dcn30_smu_set_min_deep_sleep_dcef_clk(clk_mgr, khz_to_mhz_ceil(clk_mgr_base->clks.dcfclk_deep_slee… in dcn32_update_clocks() 409 …dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_khz… in dcn32_update_clocks() 426 …dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_DPPCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dppclk_kh… in dcn32_update_clocks() 435 …dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_DISPCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dispclk_… in dcn32_update_clocks() 449 …dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_DTBCLK, khz_to_mhz_ceil(new_clocks->ref_dtbclk_khz)); in dcn32_update_clocks() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
D | dcn315_smu.c | 188 khz_to_mhz_ceil(requested_dispclk_khz)); in dcn315_smu_set_dispclk() 206 khz_to_mhz_ceil(requested_dcfclk_khz)); in dcn315_smu_set_hard_min_dcfclk() 228 khz_to_mhz_ceil(requested_min_ds_dcfclk_khz)); in dcn315_smu_set_min_deep_sleep_dcfclk() 243 khz_to_mhz_ceil(requested_dpp_khz)); in dcn315_smu_set_dppclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 237 …dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_DCEFCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dcfclk_k… in dcn3_update_clocks() 242 …dcn30_smu_set_min_deep_sleep_dcef_clk(clk_mgr, khz_to_mhz_ceil(clk_mgr_base->clks.dcfclk_deep_slee… in dcn3_update_clocks() 285 …dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_khz… in dcn3_update_clocks() 292 …dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_PIXCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dppclk_kh… in dcn3_update_clocks() 298 …dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_DISPCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dispclk_… in dcn3_update_clocks() 367 khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_khz)); in dcn3_set_hard_min_memclk() 486 …dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_PHYCLK, khz_to_mhz_ceil(clk_mgr_base->clks.phyclk_kh… in dcn30_notify_link_rate_change()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
D | dcn20_clk_mgr.c | 265 …pp_smu->set_hard_min_dcfclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(clk_mgr_base->clks.dcfclk_khz… in dcn2_update_clocks() 272 …pp_smu->set_min_deep_sleep_dcfclk(&pp_smu->pp_smu, khz_to_mhz_ceil(clk_mgr_base->clks.dcfclk_deep_… in dcn2_update_clocks() 278 …pp_smu->set_hard_min_socclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(clk_mgr_base->clks.socclk_khz… in dcn2_update_clocks() 293 …pp_smu->set_hard_min_uclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_khz)… in dcn2_update_clocks() 318 …pp_smu->set_voltage_by_freq(&pp_smu->pp_smu, PP_SMU_NV_DISPCLK, khz_to_mhz_ceil(clk_mgr_base->clks… in dcn2_update_clocks() 513 …pp_smu->set_voltage_by_freq(&pp_smu->pp_smu, PP_SMU_NV_PHYCLK, khz_to_mhz_ceil(clk_mgr_base->clks.… in dcn2_notify_link_rate_change()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | clk_mgr_internal.h | 377 static inline int khz_to_mhz_ceil(int khz) in khz_to_mhz_ceil() function
|