Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dccg.c202 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg314_set_dtbclk_dto()
206 modulo = params->ref_dtbclk_khz * 1000; in dccg314_set_dtbclk_dto()
279 int ref_dtbclk_khz, in dccg314_set_valid_pixel_rate() argument
285 dto_params.ref_dtbclk_khz = ref_dtbclk_khz; in dccg314_set_valid_pixel_rate()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c238 int ref_dtbclk_khz) in dcn32_update_clocks_update_dtb_dto() argument
254 dto_params.ref_dtbclk_khz = ref_dtbclk_khz; in dcn32_update_clocks_update_dtb_dto()
441 new_clocks->ref_dtbclk_khz = clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz * 1000; in dcn32_update_clocks()
446 …should_set_clock(safe_to_lower, new_clocks->ref_dtbclk_khz / 1000, clk_mgr_base->clks.ref_dtbclk_k… in dcn32_update_clocks()
448 clk_mgr_base->clks.ref_dtbclk_khz = 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()
451 dcn32_update_clocks_update_dtb_dto(clk_mgr, context, clk_mgr_base->clks.ref_dtbclk_khz); in dcn32_update_clocks()
787 clk_mgr->base.clks.ref_dtbclk_khz = 477800; in dcn32_clk_mgr_construct()
789 clk_mgr->base.clks.ref_dtbclk_khz = 268750; in dcn32_clk_mgr_construct()
800 clk_mgr->base.clks.ref_dtbclk_khz != clk_mgr->base.boot_snapshot.dtbclk) { in dcn32_clk_mgr_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dccg.c199 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg32_set_dtbclk_dto()
203 modulo = params->ref_dtbclk_khz * 1000; in dccg32_set_dtbclk_dto()
236 int ref_dtbclk_khz, in dccg32_set_valid_pixel_rate() argument
242 dto_params.ref_dtbclk_khz = ref_dtbclk_khz; in dccg32_set_valid_pixel_rate()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_dccg.c543 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg31_set_dtbclk_dto()
547 modulo = params->ref_dtbclk_khz * 1000; in dccg31_set_dtbclk_dto()
548 phase = div_u64((((unsigned long long)modulo * req_dtbclk_khz) + params->ref_dtbclk_khz - 1), in dccg31_set_dtbclk_dto()
549 params->ref_dtbclk_khz); in dccg31_set_dtbclk_dto()
587 if (params->ref_dtbclk_khz && params->req_audio_dtbclk_khz) { in dccg31_set_audio_dtbclk_dto()
591 modulo = params->ref_dtbclk_khz * 1000; in dccg31_set_audio_dtbclk_dto()
592 …div_u64((((unsigned long long)modulo * params->req_audio_dtbclk_khz) + params->ref_dtbclk_khz - 1), in dccg31_set_audio_dtbclk_dto()
593 params->ref_dtbclk_khz); in dccg31_set_audio_dtbclk_dto()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddccg.h82 int ref_dtbclk_khz; member
159 int ref_dtbclk_khz,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c296 uint32_t ref_dtbclk = clk_mgr->clks.ref_dtbclk_khz; in dcn31_init_clocks()
300 clk_mgr->clks.ref_dtbclk_khz = ref_dtbclk; // restore ref_dtbclk in dcn31_init_clocks()
652 return clk_mgr_base->clks.ref_dtbclk_khz; in dcn31_get_dtb_ref_freq_khz()
738 clk_mgr->base.base.clks.ref_dtbclk_khz = 600000; in dcn31_clk_mgr_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_hpo_dp.c117 dto_params.ref_dtbclk_khz = dc->clk_mgr->funcs->get_dtb_ref_clk_frequency(dc->clk_mgr); in setup_hpo_dp_stream_encoder()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c673 clk_mgr->base.base.clks.ref_dtbclk_khz = clk_mgr->base.base.dprefclk_khz; in dcn315_clk_mgr_construct()
675 …clk_mgr->base.base.clks.ref_dtbclk_khz = dce_adjust_dp_ref_freq_for_ss(&clk_mgr->base, clk_mgr->ba… in dcn315_clk_mgr_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c691 clk_mgr->base.base.clks.ref_dtbclk_khz = clk_mgr->base.base.dprefclk_khz; in dcn316_clk_mgr_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h516 int ref_dtbclk_khz; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c788 clk_mgr->base.base.clks.ref_dtbclk_khz = 600000; in dcn314_clk_mgr_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1262 context->bw_ctx.bw.dcn.clk.ref_dtbclk_khz = context->bw_ctx.dml.vba.DTBCLKPerState[vlevel] * 1000; in dcn32_calculate_dlg_params()