Home
last modified time | relevance | path

Searched refs:max_dcfclk_mhz (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn302/
H A 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
224 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn302_fpu_update_bw_bounding_box()
225 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn302_fpu_update_bw_bounding_box()
233 if (!max_dcfclk_mhz) in dcn302_fpu_update_bw_bounding_box()
234 max_dcfclk_mhz = dcn3_02_soc.clock_limits[0].dcfclk_mhz; in dcn302_fpu_update_bw_bounding_box()
242 if (max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn302_fpu_update_bw_bounding_box()
244 dcfclk_sta_targets[num_dcfclk_sta_targets] = max_dcfclk_mhz; in dcn302_fpu_update_bw_bounding_box()
246 } else if (max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn302_fpu_update_bw_bounding_box()
249 if (dcfclk_sta_targets[i] > max_dcfclk_mhz) { in dcn302_fpu_update_bw_bounding_box()
250 dcfclk_sta_targets[i] = max_dcfclk_mhz; in dcn302_fpu_update_bw_bounding_box()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn303/
H A 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
220 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn303_fpu_update_bw_bounding_box()
221 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn303_fpu_update_bw_bounding_box()
229 if (!max_dcfclk_mhz) in dcn303_fpu_update_bw_bounding_box()
230 max_dcfclk_mhz = dcn3_03_soc.clock_limits[0].dcfclk_mhz; in dcn303_fpu_update_bw_bounding_box()
238 if (max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn303_fpu_update_bw_bounding_box()
239 dcfclk_sta_targets[num_dcfclk_sta_targets] = max_dcfclk_mhz; in dcn303_fpu_update_bw_bounding_box()
241 } else if (max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn303_fpu_update_bw_bounding_box()
243 if (dcfclk_sta_targets[i] > max_dcfclk_mhz) { in dcn303_fpu_update_bw_bounding_box()
244 dcfclk_sta_targets[i] = max_dcfclk_mhz; in dcn303_fpu_update_bw_bounding_box()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c705 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
708 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn321_update_bw_bounding_box_fpu()
709 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu()
717 if (!max_dcfclk_mhz) in dcn321_update_bw_bounding_box_fpu()
718 max_dcfclk_mhz = dcn3_21_soc.clock_limits[0].dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu()
726 if (max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn321_update_bw_bounding_box_fpu()
728 dcfclk_sta_targets[num_dcfclk_sta_targets] = max_dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu()
730 } else if (max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn321_update_bw_bounding_box_fpu()
733 if (dcfclk_sta_targets[i] > max_dcfclk_mhz) { in dcn321_update_bw_bounding_box_fpu()
734 dcfclk_sta_targets[i] = max_dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c2320 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dcn32_patch_dpm_table() local
2324 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn32_patch_dpm_table()
2325 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn32_patch_dpm_table()
2346 if (max_dcfclk_mhz == 0) in dcn32_patch_dpm_table()
2797 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
2800 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn32_update_bw_bounding_box_fpu()
2801 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn32_update_bw_bounding_box_fpu()
2814 if (!max_dcfclk_mhz) in dcn32_update_bw_bounding_box_fpu()
2815 max_dcfclk_mhz = dcn3_2_soc.clock_limits[0].dcfclk_mhz; in dcn32_update_bw_bounding_box_fpu()
2823 if (max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn32_update_bw_bounding_box_fpu()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c2120 if (bw_params->clk_table.entries[i].dcfclk_mhz > dcn30_bb_max_clk.max_dcfclk_mhz) in dcn30_update_bw_bounding_box()
2121 dcn30_bb_max_clk.max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn30_update_bw_bounding_box()
2134 if (dcn30_bb_max_clk.max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn30_update_bw_bounding_box()
2136 dcfclk_sta_targets[num_dcfclk_sta_targets] = dcn30_bb_max_clk.max_dcfclk_mhz; in dcn30_update_bw_bounding_box()
2138 } else if (dcn30_bb_max_clk.max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn30_update_bw_bounding_box()
2141 if (dcfclk_sta_targets[i] > dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
2142 dcfclk_sta_targets[i] = dcn30_bb_max_clk.max_dcfclk_mhz; in dcn30_update_bw_bounding_box()
2182 if (j < num_uclk_states && optimal_dcfclk_for_uclk[j] <= dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
2197 optimal_dcfclk_for_uclk[j] <= dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h572 int max_dcfclk_mhz; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddcn30_fpu.c605 if (!dcn30_bb_max_clk->max_dcfclk_mhz) in dcn30_fpu_update_max_clk()
606 dcn30_bb_max_clk->max_dcfclk_mhz = dcn3_0_soc.clock_limits[0].dcfclk_mhz; in dcn30_fpu_update_max_clk()