Home
last modified time | relevance | path

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

/linux-6.1.9/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
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 …]
/linux-6.1.9/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
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 …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c261 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in build_synthetic_soc_states() local
274 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in build_synthetic_soc_states()
275 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in build_synthetic_soc_states()
297 if (!max_dcfclk_mhz || !max_dispclk_mhz || !max_dtbclk_mhz) in build_synthetic_soc_states()
304 …max_fclk_mhz = max_dcfclk_mhz * dcn3_21_soc.pct_ideal_sdp_bw_after_urgent / dcn3_21_soc.pct_ideal_… in build_synthetic_soc_states()
328 entry.dcfclk_mhz = max_dcfclk_mhz; in build_synthetic_soc_states()
368 if (table[i].dcfclk_mhz > max_dcfclk_mhz || in build_synthetic_soc_states()
565 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
568 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn321_update_bw_bounding_box_fpu()
569 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2064 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dcn32_patch_dpm_table() local
2068 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn32_patch_dpm_table()
2069 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn32_patch_dpm_table()
2090 if (max_dcfclk_mhz == 0) in dcn32_patch_dpm_table()
2106 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in build_synthetic_soc_states() local
2119 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in build_synthetic_soc_states()
2120 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in build_synthetic_soc_states()
2142 if (!max_dcfclk_mhz || !max_dispclk_mhz || !max_dtbclk_mhz) in build_synthetic_soc_states()
2149 …max_fclk_mhz = max_dcfclk_mhz * dcn3_2_soc.pct_ideal_sdp_bw_after_urgent / dcn3_2_soc.pct_ideal_fa… in build_synthetic_soc_states()
2175 entry.dcfclk_mhz = max_dcfclk_mhz; in build_synthetic_soc_states()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2126 if (bw_params->clk_table.entries[i].dcfclk_mhz > dcn30_bb_max_clk.max_dcfclk_mhz) in dcn30_update_bw_bounding_box()
2127 dcn30_bb_max_clk.max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn30_update_bw_bounding_box()
2140 if (dcn30_bb_max_clk.max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn30_update_bw_bounding_box()
2142 dcfclk_sta_targets[num_dcfclk_sta_targets] = dcn30_bb_max_clk.max_dcfclk_mhz; in dcn30_update_bw_bounding_box()
2144 } else if (dcn30_bb_max_clk.max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn30_update_bw_bounding_box()
2147 if (dcfclk_sta_targets[i] > dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
2148 dcfclk_sta_targets[i] = dcn30_bb_max_clk.max_dcfclk_mhz; in dcn30_update_bw_bounding_box()
2188 if (j < num_uclk_states && optimal_dcfclk_for_uclk[j] <= dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
2203 optimal_dcfclk_for_uclk[j] <= dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h545 int max_dcfclk_mhz; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c548 if (!dcn30_bb_max_clk->max_dcfclk_mhz) in dcn30_fpu_update_max_clk()
549 dcn30_bb_max_clk->max_dcfclk_mhz = dcn3_0_soc.clock_limits[0].dcfclk_mhz; in dcn30_fpu_update_max_clk()