Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c326 if (max_clk_limit->fclk_mhz != 0) in override_max_clk_values()
327 curr_clk_limit->fclk_mhz = max_clk_limit->fclk_mhz; in override_max_clk_values()
367 if (bw_params->clk_table.entries[i].fclk_mhz > max_clk_data.fclk_mhz) in build_synthetic_soc_states()
368 max_clk_data.fclk_mhz = bw_params->clk_table.entries[i].fclk_mhz; in build_synthetic_soc_states()
385 if (bw_params->clk_table.entries[i].fclk_mhz > 0) { in build_synthetic_soc_states()
387 if (bw_params->clk_table.entries[i].fclk_mhz <= bw_params->dc_mode_limit.fclk_mhz) in build_synthetic_soc_states()
407 if (num_dcfclk_dpms > 0 && bw_params->clk_table.entries[0].fclk_mhz > min_fclk_mhz) in build_synthetic_soc_states()
408 min_fclk_mhz = bw_params->clk_table.entries[0].fclk_mhz; in build_synthetic_soc_states()
416 if (max_clk_data.fclk_mhz == 0) in build_synthetic_soc_states()
417 max_clk_data.fclk_mhz = max_clk_data.dcfclk_mhz * in build_synthetic_soc_states()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c498 .fclk_mhz = 400,
505 .fclk_mhz = 800,
512 .fclk_mhz = 1067,
519 .fclk_mhz = 1333,
590 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].fclk; in vg_clk_mgr_helper_populate_bw_params()
595 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].fclk; in vg_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c582 .fclk_mhz = 400,
589 .fclk_mhz = 800,
596 .fclk_mhz = 1067,
603 .fclk_mhz = 1333,
667 bw_params->clk_table.entries[i].fclk_mhz = clock_table->FClocks[j].Freq; in rn_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
Ddcn35_clk_mgr.c864 bw_params->clk_table.entries[i].fclk_mhz = min(max_fclk, 2 * clock_table->DcfClocks[i]); in dcn35_clk_mgr_helper_populate_bw_params()
872 bw_params->clk_table.entries[i].fclk_mhz = max_fclk; in dcn35_clk_mgr_helper_populate_bw_params()
894 bw_params->clk_table.entries[i].fclk_mhz = in dcn35_clk_mgr_helper_populate_bw_params()
912 if (!bw_params->clk_table.entries[i].fclk_mhz) { in dcn35_clk_mgr_helper_populate_bw_params()
913 bw_params->clk_table.entries[i].fclk_mhz = def_max.fclk_mhz; in dcn35_clk_mgr_helper_populate_bw_params()
925 if (!bw_params->clk_table.entries[i].fclk_mhz) in dcn35_clk_mgr_helper_populate_bw_params()
926 bw_params->clk_table.entries[i].fclk_mhz = def_max.fclk_mhz; in dcn35_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
Ddcn401_clk_mgr.h32 uint16_t fclk_mhz; member
Ddcn401_clk_mgr.c423 fclk_khz_override = clk_mgr->base.bw_params->clk_table.entries[num_fclk_levels].fclk_mhz * 1000; in dcn401_auto_dpm_test_log()
864 params->update_idle_hardmin_params.fclk_mhz); in dcn401_execute_block_sequence()
870 params->update_idle_hardmin_params.fclk_mhz); in dcn401_execute_block_sequence()
999 …table.entries[clk_mgr_base->bw_params->clk_table.num_entries_per_clk.num_fclk_levels - 1].fclk_mhz; in dcn401_build_update_bandwidth_clocks_sequence()
1136 block_sequence[num_steps].params.update_idle_hardmin_params.fclk_mhz = active_fclk_mhz; in dcn401_build_update_bandwidth_clocks_sequence()
1144 block_sequence[num_steps].params.update_idle_hardmin_params.fclk_mhz = idle_fclk_mhz; in dcn401_build_update_bandwidth_clocks_sequence()
1534 &clk_mgr_base->bw_params->clk_table.entries[0].fclk_mhz, in dcn401_get_memclk_states_from_smu()
1536 …clk_mgr_base->bw_params->dc_mode_limit.fclk_mhz = dcn30_smu_get_dc_mode_max_dpm_freq(clk_mgr, PPCL… in dcn401_get_memclk_states_from_smu()
1537 if (num_entries_per_clk->num_fclk_levels && clk_mgr_base->bw_params->dc_mode_limit.fclk_mhz == in dcn401_get_memclk_states_from_smu()
1538 clk_mgr_base->bw_params->clk_table.entries[num_entries_per_clk->num_fclk_levels - 1].fclk_mhz) in dcn401_get_memclk_states_from_smu()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c511 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[max_pstate].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
523 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[0].FClk; in dcn315_clk_mgr_helper_populate_bw_params()
541 if (!bw_params->clk_table.entries[i].fclk_mhz) { in dcn315_clk_mgr_helper_populate_bw_params()
542 bw_params->clk_table.entries[i].fclk_mhz = def_max.fclk_mhz; in dcn315_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2673 if (bw_params->clk_table.entries[i].fclk_mhz > max_fclk_mhz) in dcn32_patch_dpm_table()
2674 max_fclk_mhz = bw_params->clk_table.entries[i].fclk_mhz; in dcn32_patch_dpm_table()
2778 if (max_clk_limit->fclk_mhz != 0) in override_max_clk_values()
2779 curr_clk_limit->fclk_mhz = max_clk_limit->fclk_mhz; in override_max_clk_values()
2819 if (bw_params->clk_table.entries[i].fclk_mhz > max_clk_data.fclk_mhz) in build_synthetic_soc_states()
2820 max_clk_data.fclk_mhz = bw_params->clk_table.entries[i].fclk_mhz; in build_synthetic_soc_states()
2837 if (bw_params->clk_table.entries[i].fclk_mhz > 0) { in build_synthetic_soc_states()
2839 if (bw_params->clk_table.entries[i].fclk_mhz <= bw_params->dc_mode_limit.fclk_mhz) in build_synthetic_soc_states()
2859 if (num_dcfclk_dpms > 0 && bw_params->clk_table.entries[0].fclk_mhz > min_fclk_mhz) in build_synthetic_soc_states()
2860 min_fclk_mhz = bw_params->clk_table.entries[0].fclk_mhz; in build_synthetic_soc_states()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn401/
Ddcn401_fpu.c206 if (dc->clk_mgr->bw_params->clk_table.entries[i].fclk_mhz) in dcn401_update_bw_bounding_box_fpu()
207 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].fclk_mhz = in dcn401_update_bw_bounding_box_fpu()
208 dc->clk_mgr->bw_params->clk_table.entries[i].fclk_mhz; in dcn401_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c672 bw_params->clk_table.entries[i].fclk_mhz = min_fclk; in dcn314_clk_mgr_helper_populate_bw_params()
688 bw_params->clk_table.entries[i].fclk_mhz = max_fclk; in dcn314_clk_mgr_helper_populate_bw_params()
715 if (!bw_params->clk_table.entries[i].fclk_mhz) { in dcn314_clk_mgr_helper_populate_bw_params()
716 bw_params->clk_table.entries[i].fclk_mhz = def_max.fclk_mhz; in dcn314_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c134 if (config->use_clock_dc_limits && dc_bw_params->dc_mode_limit.fclk_mhz && in dml21_apply_soc_bb_overrides()
135 dc_clk_table->entries[i].fclk_mhz > dc_bw_params->dc_mode_limit.fclk_mhz) { in dml21_apply_soc_bb_overrides()
136 if (i == 0 || dc_clk_table->entries[i-1].fclk_mhz < dc_bw_params->dc_mode_limit.fclk_mhz) { in dml21_apply_soc_bb_overrides()
137 dml_clk_table->fclk.clk_values_khz[i] = dc_bw_params->dc_mode_limit.fclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
144 dml_clk_table->fclk.clk_values_khz[i] = dc_clk_table->entries[i].fclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_wrapper.h156 unsigned int fclk_mhz; member
Ddml2_translation_helper.c529 dml2->config.bbox_overrides.clks_table.clk_entries[i].fclk_mhz; in dml2_init_soc_states()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c630 s[i].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn31_update_bw_bounding_box()
698 dcn3_15_soc.clock_limits[i].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn315_update_bw_bounding_box()
770 s[i].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn316_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dclk_mgr.h107 unsigned int fclk_mhz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn35/
Ddcn35_fpu.c282 clk_table->entries[i].fclk_mhz; in dcn35_update_bw_bounding_box_fpu()
360 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].fclk_mhz = in dcn35_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn351/
Ddcn351_fpu.c316 clk_table->entries[i].fclk_mhz; in dcn351_update_bw_bounding_box_fpu()
394 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].fclk_mhz = in dcn351_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c547 … fclk_khz_override = clk_mgr->base.bw_params->clk_table.entries[num_fclk_levels].fclk_mhz * 1000; in dcn32_auto_dpm_test_log()
1046 &clk_mgr_base->bw_params->clk_table.entries[0].fclk_mhz, in dcn32_get_memclk_states_from_smu()
1048 …clk_mgr_base->bw_params->dc_mode_limit.fclk_mhz = dcn30_smu_get_dc_mode_max_dpm_freq(clk_mgr, PPCL… in dcn32_get_memclk_states_from_smu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddcn314_fpu.c237 clock_limits[i].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn314_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn301/
Ddcn301_fpu.c352 s[i].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn301_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c520 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].FClk; in dcn316_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c595 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].FClk; in dcn31_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c2383 low_pstate_lvl.fabricclk_mhz = clk_table->entries[0].fclk_mhz; in construct_low_pstate_lvl()
2436 s[k].fabricclk_mhz = clk_table->entries[i].fclk_mhz; in dcn21_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c237 double fclk_mhz,
250 double fclk_mhz,
5357 double fclk_mhz, in dml_get_return_bandwidth_available() argument
5362 double ideal_fabric_bandwidth = fclk_mhz * (double)soc->fabric_datapath_to_dcn_data_return_bytes; in dml_get_return_bandwidth_available()
5424 dml2_printf("DML::%s: fclk_mhz = %f\n", __func__, fclk_mhz); in dml_get_return_bandwidth_available()
5447 double fclk_mhz, in calculate_bandwidth_available() argument
5453 dml2_printf("DML::%s: fclk_mhz = %f\n", __func__, fclk_mhz); in calculate_bandwidth_available()
5466 fclk_mhz, in calculate_bandwidth_available()
5469 …_get_return_bandwidth_available(soc, m, n, 0, HostVMEnable, 0, dcfclk_mhz, fclk_mhz, dram_bw_mbps); in calculate_bandwidth_available()
5477 …_get_return_bandwidth_available(soc, m, n, 0, HostVMEnable, 1, dcfclk_mhz, fclk_mhz, dram_bw_mbps); in calculate_bandwidth_available()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
Ddcn401_hwseq.c234 …clk_table.num_entries_per_clk.num_fclk_levels && dc->clk_mgr->bw_params->dc_mode_limit.fclk_mhz) || in dcn401_init_hw()

12