Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c595 int max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn31_update_bw_bounding_box() local
611 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn31_update_bw_bounding_box()
612 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn31_update_bw_bounding_box()
636 s[i].dispclk_mhz = max_dispclk_mhz ? max_dispclk_mhz : in dcn31_update_bw_bounding_box()
671 int i, max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn315_update_bw_bounding_box() local
687 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn315_update_bw_bounding_box()
688 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn315_update_bw_bounding_box()
708 dcn3_15_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn315_update_bw_bounding_box()
710 dcn3_15_soc.clock_limits[i].dscclk_mhz = max_dispclk_mhz / 3.0; in dcn315_update_bw_bounding_box()
718 dcn3_15_soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn315_update_bw_bounding_box()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddcn314_fpu.c188 int max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn314_update_bw_bounding_box_fpu() local
209 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn314_update_bw_bounding_box_fpu()
210 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn314_update_bw_bounding_box_fpu()
244 clock_limits[i].dispclk_mhz = max_dispclk_mhz ? max_dispclk_mhz : in dcn314_update_bw_bounding_box_fpu()
263 if (max_dispclk_mhz) { in dcn314_update_bw_bounding_box_fpu()
264 dcn3_14_soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn314_update_bw_bounding_box_fpu()
265 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn314_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn302/
Ddcn302_fpu.c221 int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn302_fpu_update_bw_bounding_box() local
226 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn302_fpu_update_bw_bounding_box()
227 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn302_fpu_update_bw_bounding_box()
235 if (!max_dispclk_mhz) in dcn302_fpu_update_bw_bounding_box()
236 max_dispclk_mhz = dcn3_02_soc.clock_limits[0].dispclk_mhz; in dcn302_fpu_update_bw_bounding_box()
325 dcn3_02_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn302_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn303/
Ddcn303_fpu.c217 int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn303_fpu_update_bw_bounding_box() local
222 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn303_fpu_update_bw_bounding_box()
223 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn303_fpu_update_bw_bounding_box()
231 if (!max_dispclk_mhz) in dcn303_fpu_update_bw_bounding_box()
232 max_dispclk_mhz = dcn3_03_soc.clock_limits[0].dispclk_mhz; in dcn303_fpu_update_bw_bounding_box()
331 dcn3_03_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn303_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn35/
Ddcn35_fpu.c235 int max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn35_update_bw_bounding_box_fpu() local
248 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn35_update_bw_bounding_box_fpu()
249 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn35_update_bw_bounding_box_fpu()
293 clock_limits[i].dispclk_mhz = max_dispclk_mhz ? in dcn35_update_bw_bounding_box_fpu()
294 max_dispclk_mhz : in dcn35_update_bw_bounding_box_fpu()
319 if (max_dispclk_mhz) { in dcn35_update_bw_bounding_box_fpu()
320 dcn3_5_soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn35_update_bw_bounding_box_fpu()
321 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn35_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn351/
Ddcn351_fpu.c269 int max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn351_update_bw_bounding_box_fpu() local
282 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn351_update_bw_bounding_box_fpu()
283 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn351_update_bw_bounding_box_fpu()
327 clock_limits[i].dispclk_mhz = max_dispclk_mhz ? in dcn351_update_bw_bounding_box_fpu()
328 max_dispclk_mhz : in dcn351_update_bw_bounding_box_fpu()
353 if (max_dispclk_mhz) { in dcn351_update_bw_bounding_box_fpu()
354 dcn3_51_soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn351_update_bw_bounding_box_fpu()
355 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn351_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_policy.c130 int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dml2_policy_build_synthetic_soc_states() local
145 if (p->in_states->state_array[i].dispclk_mhz > max_dispclk_mhz) in dml2_policy_build_synthetic_soc_states()
146 max_dispclk_mhz = (int) p->in_states->state_array[i].dispclk_mhz; in dml2_policy_build_synthetic_soc_states()
160 if (!max_dcfclk_mhz || !max_dispclk_mhz || !max_dppclk_mhz || !max_phyclk_mhz || !max_dtbclk_mhz) in dml2_policy_build_synthetic_soc_states()
167 s->entry.dispclk_mhz = max_dispclk_mhz; in dml2_policy_build_synthetic_soc_states()
172 s->entry.dscclk_mhz = max_dispclk_mhz / 3; in dml2_policy_build_synthetic_soc_states()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c719 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn321_update_bw_bounding_box_fpu() local
724 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn321_update_bw_bounding_box_fpu()
725 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn321_update_bw_bounding_box_fpu()
733 if (!max_dispclk_mhz) in dcn321_update_bw_bounding_box_fpu()
734 max_dispclk_mhz = dcn3_21_soc.clock_limits[0].dispclk_mhz; in dcn321_update_bw_bounding_box_fpu()
823 dcn3_21_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn321_update_bw_bounding_box_fpu()
826 dcn3_21_soc.clock_limits[i].dscclk_mhz = max_dispclk_mhz / 3; in dcn321_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c611 if (!dcn30_bb_max_clk->max_dispclk_mhz) in dcn30_fpu_update_max_clk()
612 dcn30_bb_max_clk->max_dispclk_mhz = dcn3_0_soc.clock_limits[0].dispclk_mhz; in dcn30_fpu_update_max_clk()
663 dcn3_0_soc.clock_limits[i].dispclk_mhz = dcn30_bb_max_clk->max_dispclk_mhz; in dcn30_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2667 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dcn32_patch_dpm_table() local
2677 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn32_patch_dpm_table()
2678 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn32_patch_dpm_table()
2695 if (max_dispclk_mhz == 0) in dcn32_patch_dpm_table()
3158 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn32_update_bw_bounding_box_fpu() local
3166 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn32_update_bw_bounding_box_fpu()
3167 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn32_update_bw_bounding_box_fpu()
3177 if (!max_dispclk_mhz) in dcn32_update_bw_bounding_box_fpu()
3178 max_dispclk_mhz = dcn3_2_soc.clock_limits[0].dispclk_mhz; in dcn32_update_bw_bounding_box_fpu()
3267 dcn3_2_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn32_update_bw_bounding_box_fpu()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h663 int max_dispclk_mhz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/
Ddcn30_resource.c2130 if (bw_params->clk_table.entries[i].dispclk_mhz > dcn30_bb_max_clk.max_dispclk_mhz) in dcn30_update_bw_bounding_box()
2131 dcn30_bb_max_clk.max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn30_update_bw_bounding_box()