Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_powertune.c1116 struct phm_cac_tdp_table *cac_table; in smu7_enable_power_containment() local
1120 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment()
1122 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_enable_power_containment()
1142 cac_table->usMaximumPowerDeliveryLimit; in smu7_enable_power_containment()
1199 struct phm_cac_tdp_table *cac_table; in smu7_power_control_set_level() local
1205 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
1207 cac_table = hwmgr->dyn_state.cac_dtp_table; in smu7_power_control_set_level()
1215 target_tdp = ((100 + adjust_percent) * (int)(cac_table->usTDP * 256)) / 100; in smu7_power_control_set_level()
1217 target_tdp = ((100 + adjust_percent) * (int)(cac_table->usConfigurableTDP * 256)) / 100; in smu7_power_control_set_level()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.c440 ATOM_PPLIB_CAC_Leakage_Table *cac_table = in amdgpu_parse_extended_power_table() local
445 u32 size = cac_table->ucNumEntries * sizeof(struct amdgpu_cac_leakage_table); in amdgpu_parse_extended_power_table()
451 entry = &cac_table->entries[0]; in amdgpu_parse_extended_power_table()
452 for (i = 0; i < cac_table->ucNumEntries; i++) { in amdgpu_parse_extended_power_table()
469 adev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in amdgpu_parse_extended_power_table()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dr600_dpm.c1033 ATOM_PPLIB_CAC_Leakage_Table *cac_table = in r600_parse_extended_power_table() local
1038 u32 size = cac_table->ucNumEntries * sizeof(struct radeon_cac_leakage_table); in r600_parse_extended_power_table()
1044 entry = &cac_table->entries[0]; in r600_parse_extended_power_table()
1045 for (i = 0; i < cac_table->ucNumEntries; i++) { in r600_parse_extended_power_table()
1062 rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in r600_parse_extended_power_table()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dvegam_smumgr.c1838 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in vegam_populate_bapm_vddc_base_leakage_sidd() local
1840 hi_sidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in vegam_populate_bapm_vddc_base_leakage_sidd()
1841 lo_sidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in vegam_populate_bapm_vddc_base_leakage_sidd()
Dfiji_smumgr.c678 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in fiji_populate_bapm_vddc_base_leakage_sidd() local
680 HiSidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in fiji_populate_bapm_vddc_base_leakage_sidd()
681 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.c573 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd() local
575 hi_sidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in polaris10_populate_bapm_vddc_base_leakage_sidd()
576 lo_sidd = (uint16_t)(cac_table->usLowCACLeakage / 100 * 256); in polaris10_populate_bapm_vddc_base_leakage_sidd()
Dci_smumgr.c658 struct phm_cac_tdp_table *cac_table = hwmgr->dyn_state.cac_dtp_table; in ci_populate_bapm_vddc_base_leakage_sidd() local
660 HiSidd = (uint16_t)(cac_table->usHighCACLeakage / 100 * 256); in ci_populate_bapm_vddc_base_leakage_sidd()
661 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()