Home
last modified time | relevance | path

Searched refs:max_phyclk_mhz (Results 1 – 8 of 8) sorted by relevance

/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
230 if (bw_params->clk_table.entries[i].phyclk_mhz > max_phyclk_mhz) in dcn302_fpu_update_bw_bounding_box()
231 max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; in dcn302_fpu_update_bw_bounding_box()
239 if (!max_phyclk_mhz) in dcn302_fpu_update_bw_bounding_box()
240 max_phyclk_mhz = dcn3_02_soc.clock_limits[0].phyclk_mhz; in dcn302_fpu_update_bw_bounding_box()
327 dcn3_02_soc.clock_limits[i].phyclk_mhz = max_phyclk_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
226 if (bw_params->clk_table.entries[i].phyclk_mhz > max_phyclk_mhz) in dcn303_fpu_update_bw_bounding_box()
227 max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; in dcn303_fpu_update_bw_bounding_box()
235 if (!max_phyclk_mhz) in dcn303_fpu_update_bw_bounding_box()
236 max_phyclk_mhz = dcn3_03_soc.clock_limits[0].phyclk_mhz; in dcn303_fpu_update_bw_bounding_box()
333 dcn3_03_soc.clock_limits[i].phyclk_mhz = max_phyclk_mhz; in dcn303_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_policy.c131 max_phyclk_mhz = 0, max_dtbclk_mhz = 0, max_fclk_mhz = 0, in dml2_policy_build_synthetic_soc_states() local
149 if (p->in_states->state_array[i].phyclk_mhz > max_phyclk_mhz) in dml2_policy_build_synthetic_soc_states()
150 max_phyclk_mhz = (int)p->in_states->state_array[i].phyclk_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()
170 s->entry.phyclk_mhz = max_phyclk_mhz; in dml2_policy_build_synthetic_soc_states()
173 s->entry.phyclk_mhz = max_phyclk_mhz; 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
728 if (bw_params->clk_table.entries[i].phyclk_mhz > max_phyclk_mhz) in dcn321_update_bw_bounding_box_fpu()
729 max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; in dcn321_update_bw_bounding_box_fpu()
737 if (!max_phyclk_mhz) in dcn321_update_bw_bounding_box_fpu()
738 max_phyclk_mhz = dcn3_21_soc.clock_limits[0].phyclk_mhz; in dcn321_update_bw_bounding_box_fpu()
825 dcn3_21_soc.clock_limits[i].phyclk_mhz = max_phyclk_mhz; in dcn321_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c615 if (!dcn30_bb_max_clk->max_phyclk_mhz) in dcn30_fpu_update_max_clk()
616 dcn30_bb_max_clk->max_phyclk_mhz = dcn3_0_soc.clock_limits[0].phyclk_mhz; in dcn30_fpu_update_max_clk()
665 dcn3_0_soc.clock_limits[i].phyclk_mhz = dcn30_bb_max_clk->max_phyclk_mhz; in dcn30_fpu_update_bw_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h665 int max_phyclk_mhz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2668 max_phyclk_mhz = 0, max_dtbclk_mhz = 0, max_fclk_mhz = 0, max_uclk_mhz = 0; in dcn32_patch_dpm_table() local
2681 if (bw_params->clk_table.entries[i].phyclk_mhz > max_phyclk_mhz) in dcn32_patch_dpm_table()
2682 max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; 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
3170 if (bw_params->clk_table.entries[i].phyclk_mhz > max_phyclk_mhz) in dcn32_update_bw_bounding_box_fpu()
3171 max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; in dcn32_update_bw_bounding_box_fpu()
3181 if (!max_phyclk_mhz) in dcn32_update_bw_bounding_box_fpu()
3182 max_phyclk_mhz = dcn3_2_soc.clock_limits[0].phyclk_mhz; in dcn32_update_bw_bounding_box_fpu()
3269 dcn3_2_soc.clock_limits[i].phyclk_mhz = max_phyclk_mhz; in dcn32_update_bw_bounding_box_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/
Ddcn30_resource.c2134 if (bw_params->clk_table.entries[i].phyclk_mhz > dcn30_bb_max_clk.max_phyclk_mhz) in dcn30_update_bw_bounding_box()
2135 dcn30_bb_max_clk.max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; in dcn30_update_bw_bounding_box()