Home
last modified time | relevance | path

Searched refs:cac_table (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_powertune.c1154 struct phm_cac_tdp_table *cac_table; in smu7_enable_power_containment() local
1158 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment()
1160 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_enable_power_containment()
1182 cac_table->usMaximumPowerDeliveryLimit; in smu7_enable_power_containment()
1242 struct phm_cac_tdp_table *cac_table; in smu7_power_control_set_level() local
1248 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
1250 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_power_control_set_level()
1258 target_tdp = ((100 + adjust_percent) * (int)(cac_table->usTDP * 256)) / 100; in smu7_power_control_set_level()
1260 target_tdp = ((100 + adjust_percent) * (int)(cac_table->usConfigurableTDP * 256)) / 100; in smu7_power_control_set_level()
/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c369 ATOM_PPLIB_CAC_Leakage_Table *cac_table = in amdgpu_parse_extended_power_table() local
374 u32 size = cac_table->ucNumEntries * sizeof(struct amdgpu_cac_leakage_table); in amdgpu_parse_extended_power_table()
378 entry = &cac_table->entries[0]; in amdgpu_parse_extended_power_table()
379 for (i = 0; i < cac_table->ucNumEntries; i++) { in amdgpu_parse_extended_power_table()
396 adev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in amdgpu_parse_extended_power_table()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dr600_dpm.c1031 ATOM_PPLIB_CAC_Leakage_Table *cac_table = in r600_parse_extended_power_table() local
1036 u32 size = cac_table->ucNumEntries * sizeof(struct radeon_cac_leakage_table); in r600_parse_extended_power_table()
1042 entry = &cac_table->entries[0]; in r600_parse_extended_power_table()
1043 for (i = 0; i < cac_table->ucNumEntries; i++) { in r600_parse_extended_power_table()
1060 rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in r600_parse_extended_power_table()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c1831 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in vegam_populate_bapm_vddc_base_leakage_sidd() local
1833 hi_sidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in vegam_populate_bapm_vddc_base_leakage_sidd()
1834 lo_sidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in vegam_populate_bapm_vddc_base_leakage_sidd()
Dfiji_smumgr.c676 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in fiji_populate_bapm_vddc_base_leakage_sidd() local
678 HiSidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in fiji_populate_bapm_vddc_base_leakage_sidd()
679 LoSidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in fiji_populate_bapm_vddc_base_leakage_sidd()
Diceland_smumgr.c376 struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; in iceland_populate_bapm_vddc_base_leakage_sidd() local
378 HiSidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in iceland_populate_bapm_vddc_base_leakage_sidd()
379 LoSidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in iceland_populate_bapm_vddc_base_leakage_sidd()
Dpolaris10_smumgr.c591 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd() local
593 hi_sidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in polaris10_populate_bapm_vddc_base_leakage_sidd()
594 lo_sidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in polaris10_populate_bapm_vddc_base_leakage_sidd()
Dci_smumgr.c660 struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; in ci_populate_bapm_vddc_base_leakage_sidd() local
662 HiSidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in ci_populate_bapm_vddc_base_leakage_sidd()
663 LoSidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in ci_populate_bapm_vddc_base_leakage_sidd()
Dtonga_smumgr.c1981 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in tonga_populate_bapm_vddc_base_leakage_sidd() local
1983 hi_sidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in tonga_populate_bapm_vddc_base_leakage_sidd()
1984 lo_sidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in tonga_populate_bapm_vddc_base_leakage_sidd()