Home
last modified time | relevance | path

Searched refs:dppclk_mhz (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.c126 .dppclk_mhz = 1200.0,
135 .dppclk_mhz = 1200.0,
144 .dppclk_mhz = 1200.0,
153 .dppclk_mhz = 1200.0,
162 .dppclk_mhz = 1200.0,
370 .dppclk_mhz = 556.0,
379 .dppclk_mhz = 625.0,
388 .dppclk_mhz = 625.0,
397 .dppclk_mhz = 1112.0,
406 .dppclk_mhz = 1250.0,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/
H A Ddcn301_fpu.c121 .dppclk_mhz = 1015.0,
133 .dppclk_mhz = 1015.0,
145 .dppclk_mhz = 1015.0,
157 .dppclk_mhz = 1015.0,
169 .dppclk_mhz = 1015.0,
357 s[i].dppclk_mhz = dcn3_01_soc.clock_limits[closest_clk_lvl].dppclk_mhz; in dcn301_fpu_update_bw_bounding_box()
458 …pipes[pipe_idx].clks_cfg.dppclk_mhz = get_dppclk_calculated(&context->bw_ctx.dml, pipes, pipe_cnt,… in dcn301_fpu_calculate_wm_and_dlg()
462 pipes[pipe_idx].clks_cfg.dppclk_mhz = context->bw_ctx.dml.soc.clock_limits[0].dppclk_mhz; in dcn301_fpu_calculate_wm_and_dlg()
466 if (dc->debug.min_dpp_clk_khz > pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000) in dcn301_fpu_calculate_wm_and_dlg()
467 pipes[pipe_idx].clks_cfg.dppclk_mhz = dc->debug.min_dpp_clk_khz / 1000.0; in dcn301_fpu_calculate_wm_and_dlg()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddcn314_fpu.c107 .dppclk_mhz = 1200.0,
116 .dppclk_mhz = 1200.0,
125 .dppclk_mhz = 1200.0,
134 .dppclk_mhz = 1200.0,
143 .dppclk_mhz = 1200.0,
211 if (clk_table->entries[i].dppclk_mhz > max_dppclk_mhz) in dcn314_update_bw_bounding_box_fpu()
212 max_dppclk_mhz = clk_table->entries[i].dppclk_mhz; in dcn314_update_bw_bounding_box_fpu()
247 clock_limits[i].dppclk_mhz = max_dppclk_mhz ? max_dppclk_mhz : in dcn314_update_bw_bounding_box_fpu()
248 dcn3_14_soc.clock_limits[closest_clk_lvl].dppclk_mhz; in dcn314_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn35/
H A Ddcn35_fpu.c123 .dppclk_mhz = 1200.0,
132 .dppclk_mhz = 1200.0,
141 .dppclk_mhz = 1200.0,
150 .dppclk_mhz = 1200.0,
159 .dppclk_mhz = 1200.0,
250 if (clk_table->entries[i].dppclk_mhz > max_dppclk_mhz) in dcn35_update_bw_bounding_box_fpu()
251 max_dppclk_mhz = clk_table->entries[i].dppclk_mhz; in dcn35_update_bw_bounding_box_fpu()
297 clock_limits[i].dppclk_mhz = max_dppclk_mhz ? in dcn35_update_bw_bounding_box_fpu()
299 dcn3_5_soc.clock_limits[closest_clk_lvl].dppclk_mhz; in dcn35_update_bw_bounding_box_fpu()
364 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].dppclk_mhz = in dcn35_update_bw_bounding_box_fpu()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c229 .dppclk_mhz = 513.0,
240 .dppclk_mhz = 642.0,
251 .dppclk_mhz = 734.0,
262 .dppclk_mhz = 1100.0,
273 .dppclk_mhz = 1284.0,
285 .dppclk_mhz = 1284.0,
340 .dppclk_mhz = 513.0,
351 .dppclk_mhz = 642.0,
362 .dppclk_mhz = 734.0,
373 .dppclk_mhz = 1100.0,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c112 .dppclk_mhz = 1720.0,
373 if (bw_params->clk_table.entries[i].dppclk_mhz > max_clk_data.dppclk_mhz) in build_synthetic_soc_states()
374 max_clk_data.dppclk_mhz = bw_params->clk_table.entries[i].dppclk_mhz; in build_synthetic_soc_states()
413 if (max_clk_data.dppclk_mhz == 0) in build_synthetic_soc_states()
414 max_clk_data.dppclk_mhz = max_clk_data.dispclk_mhz; in build_synthetic_soc_states()
427 entry.dppclk_mhz = max_clk_data.dppclk_mhz; in build_synthetic_soc_states()
726 if (bw_params->clk_table.entries[i].dppclk_mhz > max_dppclk_mhz) in dcn321_update_bw_bounding_box_fpu()
727 max_dppclk_mhz = bw_params->clk_table.entries[i].dppclk_mhz; in dcn321_update_bw_bounding_box_fpu()
736 max_dppclk_mhz = dcn3_21_soc.clock_limits[0].dppclk_mhz; in dcn321_update_bw_bounding_box_fpu()
824 dcn3_21_soc.clock_limits[i].dppclk_mhz = max_dppclk_mhz; in dcn321_update_bw_bounding_box_fpu()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn302/
H A Ddcn302_fpu.c118 .dppclk_mhz = 300.0,
228 if (bw_params->clk_table.entries[i].dppclk_mhz > max_dppclk_mhz) in dcn302_fpu_update_bw_bounding_box()
229 max_dppclk_mhz = bw_params->clk_table.entries[i].dppclk_mhz; in dcn302_fpu_update_bw_bounding_box()
238 max_dppclk_mhz = dcn3_02_soc.clock_limits[0].dppclk_mhz; in dcn302_fpu_update_bw_bounding_box()
326 dcn3_02_soc.clock_limits[i].dppclk_mhz = max_dppclk_mhz; in dcn302_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_clk_mgr.c260 .dppclk_mhz = 640,
268 .dppclk_mhz = 739,
276 .dppclk_mhz = 960,
284 .dppclk_mhz = 1200,
292 .dppclk_mhz = 1372,
517 bw_params->clk_table.entries[i].dppclk_mhz = clock_table->DppClocks[i]; in dcn315_clk_mgr_helper_populate_bw_params()
533 …bw_params->clk_table.entries[i-1].dppclk_mhz = clock_table->DppClocks[clock_table->NumDispClkLevel… in dcn315_clk_mgr_helper_populate_bw_params()
552 if (!bw_params->clk_table.entries[i].dppclk_mhz) in dcn315_clk_mgr_helper_populate_bw_params()
553 bw_params->clk_table.entries[i].dppclk_mhz = def_max.dppclk_mhz; in dcn315_clk_mgr_helper_populate_bw_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn303/
H A Ddcn303_fpu.c117 .dppclk_mhz = 300.0,
224 if (bw_params->clk_table.entries[i].dppclk_mhz > max_dppclk_mhz) in dcn303_fpu_update_bw_bounding_box()
225 max_dppclk_mhz = bw_params->clk_table.entries[i].dppclk_mhz; in dcn303_fpu_update_bw_bounding_box()
234 max_dppclk_mhz = dcn3_03_soc.clock_limits[0].dppclk_mhz; in dcn303_fpu_update_bw_bounding_box()
332 dcn3_03_soc.clock_limits[i].dppclk_mhz = max_dppclk_mhz; in dcn303_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddcn30_fpu.c130 .dppclk_mhz = 300.0,
558 …pipes[pipe_idx].clks_cfg.dppclk_mhz = get_dppclk_calculated(&context->bw_ctx.dml, pipes, pipe_cnt,… in dcn30_fpu_calculate_wm_and_dlg()
562 pipes[pipe_idx].clks_cfg.dppclk_mhz = context->bw_ctx.dml.soc.clock_limits[0].dppclk_mhz; in dcn30_fpu_calculate_wm_and_dlg()
566 if (dc->debug.min_dpp_clk_khz > pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000) in dcn30_fpu_calculate_wm_and_dlg()
567 pipes[pipe_idx].clks_cfg.dppclk_mhz = dc->debug.min_dpp_clk_khz / 1000.0; in dcn30_fpu_calculate_wm_and_dlg()
614 dcn30_bb_max_clk->max_dppclk_mhz = dcn3_0_soc.clock_limits[0].dppclk_mhz; in dcn30_fpu_update_max_clk()
664 dcn3_0_soc.clock_limits[i].dppclk_mhz = dcn30_bb_max_clk->max_dppclk_mhz; in dcn30_fpu_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c223 &clk_mgr_base->bw_params->clk_table.entries[0].dppclk_mhz, in dcn32_init_clocks()
226 …clk_mgr_base->bw_params->dc_mode_limit.dppclk_mhz = dcn30_smu_get_dc_mode_max_dpm_freq(clk_mgr, PP… in dcn32_init_clocks()
228 if (clk_mgr_base->bw_params->dc_mode_limit.dppclk_mhz > 1950) in dcn32_init_clocks()
229 clk_mgr_base->bw_params->dc_mode_limit.dppclk_mhz = 1950; in dcn32_init_clocks()
249 if (clk_mgr_base->bw_params->clk_table.entries[i].dppclk_mhz in dcn32_init_clocks()
251 clk_mgr_base->bw_params->clk_table.entries[i].dppclk_mhz in dcn32_init_clocks()
256 if (clk_mgr_base->bw_params->clk_table.entries[i].dppclk_mhz > 1950) in dcn32_init_clocks()
257 clk_mgr_base->bw_params->clk_table.entries[i].dppclk_mhz = 1950; in dcn32_init_clocks()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c133 .dppclk_mhz = 2150.0,
1521 pipes[0].clks_cfg.dppclk_mhz = get_dppclk_calculated(&context->bw_ctx.dml, pipes, *pipe_cnt, 0); in dcn32_full_validate_bw_helper()
1720 if (context->bw_ctx.bw.dcn.clk.dppclk_khz < pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000) in dcn32_calculate_dlg_params()
1721 context->bw_ctx.bw.dcn.clk.dppclk_khz = pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000; in dcn32_calculate_dlg_params()
1723 … context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz = pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000; in dcn32_calculate_dlg_params()
1776 …w_ctx.bw.dcn.clk.max_supported_dppclk_khz = context->bw_ctx.dml.soc.clock_limits[vlevel].dppclk_mhz in dcn32_calculate_dlg_params()
2594 …pipes[pipe_idx].clks_cfg.dppclk_mhz = get_dppclk_calculated(&context->bw_ctx.dml, pipes, pipe_cnt,… in dcn32_calculate_wm_and_dlg_fpu()
2598 pipes[pipe_idx].clks_cfg.dppclk_mhz = context->bw_ctx.dml.soc.clock_limits[0].dppclk_mhz; in dcn32_calculate_wm_and_dlg_fpu()
2602 if (dc->debug.min_dpp_clk_khz > pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000) in dcn32_calculate_wm_and_dlg_fpu()
2603 pipes[pipe_idx].clks_cfg.dppclk_mhz = dc->debug.min_dpp_clk_khz / 1000.0; in dcn32_calculate_wm_and_dlg_fpu()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_policy.c147 if (p->in_states->state_array[i].dppclk_mhz > max_dppclk_mhz) in dml2_policy_build_synthetic_soc_states()
148 max_dppclk_mhz = (int) p->in_states->state_array[i].dppclk_mhz; in dml2_policy_build_synthetic_soc_states()
168 s->entry.dppclk_mhz = max_dppclk_mhz; in dml2_policy_build_synthetic_soc_states()
H A Ddml2_wrapper.h161 unsigned int dppclk_mhz; member
H A Ddml2_translation_helper.c366 p->in_states->state_array[0].dppclk_mhz = 2150.0; in dml2_init_soc_states()
402 p->in_states->state_array[0].dppclk_mhz = 1720.0; in dml2_init_soc_states()
437 p->in_states->state_array[0].dppclk_mhz = 2000; //2150.0; in dml2_init_soc_states()
551 p->in_states->state_array[i].dppclk_mhz = in dml2_init_soc_states()
552 dml2->config.bbox_overrides.clks_table.clk_entries[i].dppclk_mhz; in dml2_init_soc_states()
677 out->state_array[i].dppclk_mhz = dc->dml.soc.clock_limits[i].dppclk_mhz; in dml2_translate_soc_states()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_socbb.h35 uint32_t dppclk_mhz; member
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h168 double dppclk_mhz; member
550 double dppclk_mhz; member
H A Ddisplay_mode_vba.c68 if (need_recalculate && pipes[0].clks_cfg.dppclk_mhz != 0) in dml_get_voltage_level()
401 mode_lib->vba.MaxDppclk[i] = soc->clock_limits[i].dppclk_mhz; in fetch_socbb_params()
707 mode_lib->vba.DPPCLK[mode_lib->vba.NumberOfActivePlanes] = clks->dppclk_mhz; in fetch_pipe_params()
1109 if (mode_lib->vba.cache_pipes[pipe_idx].clks_cfg.dppclk_mhz > 0.0) in ModeSupportAndSystemConfiguration()
1110 mode_lib->vba.DPPCLK[k] = mode_lib->vba.cache_pipes[pipe_idx].clks_cfg.dppclk_mhz; in ModeSupportAndSystemConfiguration()
1112 mode_lib->vba.DPPCLK[k] = soc->clock_limits[mode_lib->vba.VoltageLevel].dppclk_mhz; in ModeSupportAndSystemConfiguration()
H A Ddisplay_mode_lib.c278 dml_print("DML PARAMS: dppclk_mhz = %3.2f\n", clks_cfg->dppclk_mhz); in dml_log_pipe_params()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c146 .dppclk_mhz = 300.0,
157 .dppclk_mhz = 1200.0,
168 .dppclk_mhz = 1200.0,
179 .dppclk_mhz = 1200.0,
191 .dppclk_mhz = 1200.0,
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c877 bw_params->clk_table.entries[i].dppclk_mhz = max_dppclk; in dcn35_clk_mgr_helper_populate_bw_params()
898 bw_params->clk_table.entries[i].dppclk_mhz = max_dppclk; in dcn35_clk_mgr_helper_populate_bw_params()
910 bw_params->clk_table.entries[i].dppclk_mhz = in dcn35_clk_mgr_helper_populate_bw_params()
941 if (!bw_params->clk_table.entries[i].dppclk_mhz) in dcn35_clk_mgr_helper_populate_bw_params()
942 bw_params->clk_table.entries[i].dppclk_mhz = def_max.dppclk_mhz; in dcn35_clk_mgr_helper_populate_bw_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_display_cfg_types.h399 double dppclk_mhz; member
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dclk_mgr.h112 unsigned int dppclk_mhz; member
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn401/
H A Ddcn401_fpu.c233 dc->dml2_options.bbox_overrides.clks_table.clk_entries[i].dppclk_mhz = in dcn401_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c276 &clk_mgr_base->bw_params->clk_table.entries[0].dppclk_mhz, in dcn401_init_clocks()
294 if (clk_mgr_base->bw_params->clk_table.entries[i].dppclk_mhz in dcn401_init_clocks()
296 clk_mgr_base->bw_params->clk_table.entries[i].dppclk_mhz in dcn401_init_clocks()

12