Searched refs:max_dcfclk_mhz (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn302/ |
D | dcn302_fpu.c | 221 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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn303/ |
D | dcn303_fpu.c | 217 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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
D | dcn321_fpu.c | 719 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 722 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn321_update_bw_bounding_box_fpu() 723 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu() 731 if (!max_dcfclk_mhz) in dcn321_update_bw_bounding_box_fpu() 732 max_dcfclk_mhz = dcn3_21_soc.clock_limits[0].dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu() 740 if (max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn321_update_bw_bounding_box_fpu() 742 dcfclk_sta_targets[num_dcfclk_sta_targets] = max_dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu() 744 } else if (max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn321_update_bw_bounding_box_fpu() 747 if (dcfclk_sta_targets[i] > max_dcfclk_mhz) { in dcn321_update_bw_bounding_box_fpu() 748 dcfclk_sta_targets[i] = max_dcfclk_mhz; in dcn321_update_bw_bounding_box_fpu() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_policy.c | 130 int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dml2_policy_build_synthetic_soc_states() local 137 if (p->in_states->state_array[i].dcfclk_mhz > max_dcfclk_mhz) in dml2_policy_build_synthetic_soc_states() 138 max_dcfclk_mhz = (int) p->in_states->state_array[i].dcfclk_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() 222 if (p->out_states->state_array[i].dcfclk_mhz > max_dcfclk_mhz || in dml2_policy_build_synthetic_soc_states()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
D | dcn30_resource.c | 2128 if (bw_params->clk_table.entries[i].dcfclk_mhz > dcn30_bb_max_clk.max_dcfclk_mhz) in dcn30_update_bw_bounding_box() 2129 dcn30_bb_max_clk.max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn30_update_bw_bounding_box() 2142 if (dcn30_bb_max_clk.max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn30_update_bw_bounding_box() 2144 dcfclk_sta_targets[num_dcfclk_sta_targets] = dcn30_bb_max_clk.max_dcfclk_mhz; in dcn30_update_bw_bounding_box() 2146 } else if (dcn30_bb_max_clk.max_dcfclk_mhz < dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn30_update_bw_bounding_box() 2149 if (dcfclk_sta_targets[i] > dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box() 2150 dcfclk_sta_targets[i] = dcn30_bb_max_clk.max_dcfclk_mhz; in dcn30_update_bw_bounding_box() 2201 if (j < num_uclk_states && optimal_dcfclk_for_uclk[j] <= dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box() 2216 optimal_dcfclk_for_uclk[j] <= dcn30_bb_max_clk.max_dcfclk_mhz) { in dcn30_update_bw_bounding_box()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 2667 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dcn32_patch_dpm_table() local 2671 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn32_patch_dpm_table() 2672 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn32_patch_dpm_table() 2693 if (max_dcfclk_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 3161 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn32_update_bw_bounding_box_fpu() 3162 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn32_update_bw_bounding_box_fpu() 3175 if (!max_dcfclk_mhz) in dcn32_update_bw_bounding_box_fpu() 3176 max_dcfclk_mhz = dcn3_2_soc.clock_limits[0].dcfclk_mhz; in dcn32_update_bw_bounding_box_fpu() 3184 if (max_dcfclk_mhz > dcfclk_sta_targets[num_dcfclk_sta_targets-1]) { in dcn32_update_bw_bounding_box_fpu() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 662 int max_dcfclk_mhz; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 609 if (!dcn30_bb_max_clk->max_dcfclk_mhz) in dcn30_fpu_update_max_clk() 610 dcn30_bb_max_clk->max_dcfclk_mhz = dcn3_0_soc.clock_limits[0].dcfclk_mhz; in dcn30_fpu_update_max_clk()
|