Home
last modified time | relevance | path

Searched refs:dtbclk_mhz (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c119 .dtbclk_mhz = 1564.0,
335 if (max_clk_limit->dtbclk_mhz != 0) in override_max_clk_values()
336 curr_clk_limit->dtbclk_mhz = max_clk_limit->dtbclk_mhz; in override_max_clk_values()
377 if (bw_params->clk_table.entries[i].dtbclk_mhz > max_clk_data.dtbclk_mhz) in build_synthetic_soc_states()
378 max_clk_data.dtbclk_mhz = bw_params->clk_table.entries[i].dtbclk_mhz; in build_synthetic_soc_states()
410 if (!max_clk_data.dcfclk_mhz || !max_clk_data.dispclk_mhz || !max_clk_data.dtbclk_mhz) in build_synthetic_soc_states()
428 entry.dtbclk_mhz = max_clk_data.dtbclk_mhz; in build_synthetic_soc_states()
830 if (!bw_params->clk_table.entries[i].dtbclk_mhz) { in dcn321_update_bw_bounding_box_fpu()
831 dcn3_21_soc.clock_limits[i].dtbclk_mhz = dcn3_21_soc.clock_limits[i-1].dtbclk_mhz; in dcn321_update_bw_bounding_box_fpu()
833 dcn3_21_soc.clock_limits[i].dtbclk_mhz = bw_params->clk_table.entries[i].dtbclk_mhz; in dcn321_update_bw_bounding_box_fpu()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn351/
Ddcn351_fpu.c110 .dtbclk_mhz = 600.0,
123 .dtbclk_mhz = 600.0,
136 .dtbclk_mhz = 600.0,
149 .dtbclk_mhz = 600.0,
162 .dtbclk_mhz = 600.0,
175 .dtbclk_mhz = 600.0,
188 .dtbclk_mhz = 600.0,
201 .dtbclk_mhz = 600.0,
339 clock_limits[i].dtbclk_mhz = in dcn351_update_bw_bounding_box_fpu()
340 dcn3_51_soc.clock_limits[closest_clk_lvl].dtbclk_mhz; in dcn351_update_bw_bounding_box_fpu()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c130 .dtbclk_mhz = 625.0,
139 .dtbclk_mhz = 625.0,
148 .dtbclk_mhz = 625.0,
157 .dtbclk_mhz = 625.0,
166 .dtbclk_mhz = 625.0,
374 .dtbclk_mhz = 625.0,
383 .dtbclk_mhz = 625.0,
392 .dtbclk_mhz = 625.0,
401 .dtbclk_mhz = 625.0,
410 .dtbclk_mhz = 625.0,
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddcn314_fpu.c111 .dtbclk_mhz = 600.0,
120 .dtbclk_mhz = 600.0,
129 .dtbclk_mhz = 600.0,
138 .dtbclk_mhz = 600.0,
147 .dtbclk_mhz = 600.0,
252 clock_limits[i].dtbclk_mhz = dcn3_14_soc.clock_limits[closest_clk_lvl].dtbclk_mhz; in dcn314_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c263 .dtbclk_mhz = 600,
271 .dtbclk_mhz = 600,
279 .dtbclk_mhz = 600,
287 .dtbclk_mhz = 600,
295 .dtbclk_mhz = 600,
508 bw_params->clk_table.entries[i].dtbclk_mhz = bw_params->clk_table.entries[j].dtbclk_mhz; in dcn315_clk_mgr_helper_populate_bw_params()
558 if (!bw_params->clk_table.entries[i].dtbclk_mhz) in dcn315_clk_mgr_helper_populate_bw_params()
559 bw_params->clk_table.entries[i].dtbclk_mhz = def_max.dtbclk_mhz; in dcn315_clk_mgr_helper_populate_bw_params()
565 ASSERT(bw_params->clk_table.entries[i-1].dtbclk_mhz == def_max.dtbclk_mhz); in dcn315_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn35/
Ddcn35_fpu.c127 .dtbclk_mhz = 600.0,
136 .dtbclk_mhz = 600.0,
145 .dtbclk_mhz = 600.0,
154 .dtbclk_mhz = 600.0,
163 .dtbclk_mhz = 600.0,
305 clock_limits[i].dtbclk_mhz = in dcn35_update_bw_bounding_box_fpu()
306 dcn3_5_soc.clock_limits[closest_clk_lvl].dtbclk_mhz; in dcn35_update_bw_bounding_box_fpu()
370 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].dtbclk_mhz = in dcn35_update_bw_bounding_box_fpu()
371 clock_limits[i].dtbclk_mhz; in dcn35_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn302/
Ddcn302_fpu.c329 if (!bw_params->clk_table.entries[i].dtbclk_mhz && i > 0) in dcn302_fpu_update_bw_bounding_box()
330 dcn3_02_soc.clock_limits[i].dtbclk_mhz = dcn3_02_soc.clock_limits[i-1].dtbclk_mhz; in dcn302_fpu_update_bw_bounding_box()
332 dcn3_02_soc.clock_limits[i].dtbclk_mhz = bw_params->clk_table.entries[i].dtbclk_mhz; in dcn302_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn303/
Ddcn303_fpu.c335 if (!bw_params->clk_table.entries[i].dtbclk_mhz && i > 0) in dcn303_fpu_update_bw_bounding_box()
336 dcn3_03_soc.clock_limits[i].dtbclk_mhz = dcn3_03_soc.clock_limits[i-1].dtbclk_mhz; in dcn303_fpu_update_bw_bounding_box()
338 dcn3_03_soc.clock_limits[i].dtbclk_mhz = bw_params->clk_table.entries[i].dtbclk_mhz; in dcn303_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_policy.c151 if (p->in_states->state_array[i].dtbclk_mhz > max_dtbclk_mhz) in dml2_policy_build_synthetic_soc_states()
152 max_dtbclk_mhz = (int)p->in_states->state_array[i].dtbclk_mhz; in dml2_policy_build_synthetic_soc_states()
169 s->entry.dtbclk_mhz = max_dtbclk_mhz; in dml2_policy_build_synthetic_soc_states()
174 s->entry.dtbclk_mhz = max_dtbclk_mhz; in dml2_policy_build_synthetic_soc_states()
Ddml2_translation_helper.c362 p->in_states->state_array[0].dtbclk_mhz = 1564.0; in dml2_init_soc_states()
398 p->in_states->state_array[0].dtbclk_mhz = 1564.0; in dml2_init_soc_states()
433 p->in_states->state_array[0].dtbclk_mhz = 2000; //1564.0; in dml2_init_soc_states()
543 if (dml2->config.bbox_overrides.clks_table.clk_entries[i].dtbclk_mhz > 0) in dml2_init_soc_states()
544 p->in_states->state_array[i].dtbclk_mhz = in dml2_init_soc_states()
545 dml2->config.bbox_overrides.clks_table.clk_entries[i].dtbclk_mhz; in dml2_init_soc_states()
679 out->state_array[i].dtbclk_mhz = dc->dml.soc.clock_limits[i].dtbclk_mhz; in dml2_translate_soc_states()
Ddml2_wrapper.h159 unsigned int dtbclk_mhz; member
Ddml2_wrapper.c584 …_khz = (unsigned int)dml2->v20.dml_core_ctx.states.state_array[lowest_state_idx].dtbclk_mhz * 1000; in dml2_validate_and_build_resource()
642 …_khz = (unsigned int)dml2->v20.dml_core_ctx.states.state_array[lowest_state_idx].dtbclk_mhz * 1000; in dml2_validate_and_build_resource()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c669 bw_params->clk_table.entries[i].dtbclk_mhz = bw_params->clk_table.entries[j].dtbclk_mhz; in dcn314_clk_mgr_helper_populate_bw_params()
708 bw_params->clk_table.entries[i].dtbclk_mhz = def_max.dtbclk_mhz; in dcn314_clk_mgr_helper_populate_bw_params()
732 if (!bw_params->clk_table.entries[i].dtbclk_mhz) in dcn314_clk_mgr_helper_populate_bw_params()
733 bw_params->clk_table.entries[i].dtbclk_mhz = def_max.dtbclk_mhz; in dcn314_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c140 .dtbclk_mhz = 1564.0,
2683 if (bw_params->clk_table.entries[i].dtbclk_mhz > max_dtbclk_mhz) in dcn32_patch_dpm_table()
2684 max_dtbclk_mhz = bw_params->clk_table.entries[i].dtbclk_mhz; in dcn32_patch_dpm_table()
2698 bw_params->clk_table.entries[0].dtbclk_mhz = dcn3_2_soc.clock_limits[0].dtbclk_mhz; in dcn32_patch_dpm_table()
2787 if (max_clk_limit->dtbclk_mhz != 0) in override_max_clk_values()
2788 curr_clk_limit->dtbclk_mhz = max_clk_limit->dtbclk_mhz; in override_max_clk_values()
2829 if (bw_params->clk_table.entries[i].dtbclk_mhz > max_clk_data.dtbclk_mhz) in build_synthetic_soc_states()
2830 max_clk_data.dtbclk_mhz = bw_params->clk_table.entries[i].dtbclk_mhz; in build_synthetic_soc_states()
2862 if (!max_clk_data.dcfclk_mhz || !max_clk_data.dispclk_mhz || !max_clk_data.dtbclk_mhz) in build_synthetic_soc_states()
2880 entry.dtbclk_mhz = max_clk_data.dtbclk_mhz; in build_synthetic_soc_states()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn401/
Ddcn401_fpu.c224 if (dc->clk_mgr->bw_params->clk_table.entries[i].dtbclk_mhz) in dcn401_update_bw_bounding_box_fpu()
225 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].dtbclk_mhz = in dcn401_update_bw_bounding_box_fpu()
226 dc->clk_mgr->bw_params->clk_table.entries[i].dtbclk_mhz; in dcn401_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
Ddcn35_clk_mgr.c851 bw_params->clk_table.entries[i].dtbclk_mhz = bw_params->clk_table.entries[j].dtbclk_mhz; in dcn35_clk_mgr_helper_populate_bw_params()
899 bw_params->clk_table.entries[i].dtbclk_mhz = def_max.dtbclk_mhz; in dcn35_clk_mgr_helper_populate_bw_params()
931 if (!bw_params->clk_table.entries[i].dtbclk_mhz) in dcn35_clk_mgr_helper_populate_bw_params()
932 bw_params->clk_table.entries[i].dtbclk_mhz = def_max.dtbclk_mhz; in dcn35_clk_mgr_helper_populate_bw_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c226 if (config->use_clock_dc_limits && dc_bw_params->dc_mode_limit.dtbclk_mhz && in dml21_apply_soc_bb_overrides()
227 dc_clk_table->entries[i].dtbclk_mhz > dc_bw_params->dc_mode_limit.dtbclk_mhz) { in dml21_apply_soc_bb_overrides()
228 … if (i == 0 || dc_clk_table->entries[i-1].dtbclk_mhz < dc_bw_params->dc_mode_limit.dtbclk_mhz) { in dml21_apply_soc_bb_overrides()
229 dml_clk_table->dtbclk.clk_values_khz[i] = dc_bw_params->dc_mode_limit.dtbclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
236 dml_clk_table->dtbclk.clk_values_khz[i] = dc_clk_table->entries[i].dtbclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
Ddcn401_clk_mgr.c257 &clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz, in dcn401_init_clocks()
259 …clk_mgr_base->bw_params->dc_mode_limit.dtbclk_mhz = dcn30_smu_get_dc_mode_max_dpm_freq(clk_mgr, PP… in dcn401_init_clocks()
260 if (num_entries_per_clk->num_dtbclk_levels && clk_mgr_base->bw_params->dc_mode_limit.dtbclk_mhz == in dcn401_init_clocks()
261 … clk_mgr_base->bw_params->clk_table.entries[num_entries_per_clk->num_dtbclk_levels - 1].dtbclk_mhz) in dcn401_init_clocks()
262 clk_mgr_base->bw_params->dc_mode_limit.dtbclk_mhz = 0; in dcn401_init_clocks()
772 new_clocks->ref_dtbclk_khz = clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz * 1000; in dcn401_update_clocks_legacy()
1257 new_clocks->ref_dtbclk_khz = clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz * 1000; in dcn401_build_update_display_clocks_sequence()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn301/
Ddcn301_fpu.c361 s[i].dtbclk_mhz = dcn3_01_soc.clock_limits[closest_clk_lvl].dtbclk_mhz; in dcn301_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dclk_mgr.h110 unsigned int dtbclk_mhz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c205 &clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz, in dcn32_init_clocks()
207 clk_mgr_base->bw_params->dc_mode_limit.dtbclk_mhz = in dcn32_init_clocks()
798 new_clocks->ref_dtbclk_khz = clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz * 1000; in dcn32_update_clocks()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h169 double dtbclk_mhz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c666 dcn3_0_soc.clock_limits[i].dtbclk_mhz = dcn3_0_soc.clock_limits[0].dtbclk_mhz; in dcn30_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c139 &clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz, in dcn3_init_clocks()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c2391 low_pstate_lvl.dtbclk_mhz = dcn2_1_soc.clock_limits[high_voltage_lvl].dtbclk_mhz; in construct_low_pstate_lvl()
2445 s[k].dtbclk_mhz = dcn2_1_soc.clock_limits[closest_clk_lvl].dtbclk_mhz; in dcn21_update_bw_bounding_box()

12