/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 595 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/ |
D | dcn314_fpu.c | 188 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/ |
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 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/ |
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 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/ |
D | dcn35_fpu.c | 235 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/ |
D | dcn351_fpu.c | 269 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/ |
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 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/ |
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 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/ |
D | dcn30_fpu.c | 611 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/ |
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 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/ |
D | core_types.h | 663 int max_dispclk_mhz; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
D | dcn30_resource.c | 2130 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()
|