/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | btc_dpm.c | 1308 u16 *vddc, u16 *vddci) in btc_apply_voltage_delta_rules() argument 1313 if ((0 == *vddc) || (0 == *vddci)) in btc_apply_voltage_delta_rules() 1316 if (*vddc > *vddci) { in btc_apply_voltage_delta_rules() 1317 if ((*vddc - *vddci) > rdev->pm.dpm.dyn_state.vddc_vddci_delta) { in btc_apply_voltage_delta_rules() 1320 *vddci = (new_voltage < max_vddci) ? new_voltage : max_vddci; in btc_apply_voltage_delta_rules() 1323 if ((*vddci - *vddc) > rdev->pm.dpm.dyn_state.vddc_vddci_delta) { in btc_apply_voltage_delta_rules() 1325 (*vddci - rdev->pm.dpm.dyn_state.vddc_vddci_delta)); in btc_apply_voltage_delta_rules() 1799 if (state->low.vddci != ulv_pl->vddci) in btc_is_state_ulv_compatible() 2100 u16 vddc, vddci; in btc_apply_state_adjust_rules() local 2120 if (ps->high.vddci > max_limits->vddci) in btc_apply_state_adjust_rules() [all …]
|
D | ni_dpm.c | 792 u16 vddci; in ni_apply_state_adjust_rules() local 814 if (ps->performance_levels[i].vddci > max_limits->vddci) in ni_apply_state_adjust_rules() 815 ps->performance_levels[i].vddci = max_limits->vddci; in ni_apply_state_adjust_rules() 825 ps->performance_levels[0].vddci = in ni_apply_state_adjust_rules() 826 ps->performance_levels[ps->performance_level_count - 1].vddci; in ni_apply_state_adjust_rules() 843 vddci = ps->performance_levels[0].vddci; in ni_apply_state_adjust_rules() 847 if (vddci < ps->performance_levels[i].vddci) in ni_apply_state_adjust_rules() 848 vddci = ps->performance_levels[i].vddci; in ni_apply_state_adjust_rules() 852 ps->performance_levels[i].vddci = vddci; in ni_apply_state_adjust_rules() 858 if (ps->performance_levels[i].vddci < ps->performance_levels[i - 1].vddci) in ni_apply_state_adjust_rules() [all …]
|
D | btc_dpm.h | 56 u16 *vddc, u16 *vddci);
|
D | si_dpm.c | 2954 u16 vddc, vddci, min_vce_voltage = 0; in si_apply_state_adjust_rules() local 3023 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules() 3024 ps->performance_levels[i].vddci = max_limits->vddci; in si_apply_state_adjust_rules() 3063 vddci = ps->performance_levels[ps->performance_level_count - 1].vddci; in si_apply_state_adjust_rules() 3066 vddci = ps->performance_levels[0].vddci; in si_apply_state_adjust_rules() 3088 ps->performance_levels[0].vddci = vddci; in si_apply_state_adjust_rules() 3117 ps->performance_levels[i].vddci = vddci; in si_apply_state_adjust_rules() 3123 if (ps->performance_levels[i].vddci < ps->performance_levels[i - 1].vddci) in si_apply_state_adjust_rules() 3124 ps->performance_levels[i].vddci = ps->performance_levels[i - 1].vddci; in si_apply_state_adjust_rules() 3140 max_limits->vddci, &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules() [all …]
|
D | rv770_dpm.c | 2205 pl->vddci = le16_to_cpu(clock_info->evergreen.usVDDCI); in rv7xx_parse_pplib_clock_info() 2229 eg_pi->acpi_vddci = pl->vddci; in rv7xx_parse_pplib_clock_info() 2251 u16 vddc, vddci, mvdd; in rv7xx_parse_pplib_clock_info() local 2252 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in rv7xx_parse_pplib_clock_info() 2256 pl->vddci = vddci; in rv7xx_parse_pplib_clock_info() 2264 rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddci = pl->vddci; in rv7xx_parse_pplib_clock_info() 2446 pl->sclk, pl->mclk, pl->vddc, pl->vddci); in rv770_dpm_print_power_state() 2449 pl->sclk, pl->mclk, pl->vddc, pl->vddci); in rv770_dpm_print_power_state() 2452 pl->sclk, pl->mclk, pl->vddc, pl->vddci); in rv770_dpm_print_power_state() 2489 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in rv770_dpm_debugfs_print_current_performance_level()
|
D | rv770_smc.h | 112 RV770_SMC_VOLTAGE_VALUE vddci; member
|
D | nislands_smc.h | 112 NISLANDS_SMC_VOLTAGE_VALUE vddci; member
|
D | rv770_dpm.h | 146 u16 vddci; /* eg+ only */ member
|
D | radeon_atombios.c | 2372 u16 *vddc, u16 *vddci, u16 *mvdd) in radeon_atombios_get_default_voltages() argument 2381 *vddci = 0; in radeon_atombios_get_default_voltages() 2391 *vddci = le16_to_cpu(firmware_info->info_22.usBootUpVDDCIVoltage); in radeon_atombios_get_default_voltages() 2404 u16 vddc, vddci, mvdd; in radeon_atombios_parse_pplib_non_clock_info() local 2406 radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); in radeon_atombios_parse_pplib_non_clock_info() 2447 rdev->pm.default_vddci = rdev->pm.power_state[state_index].clock_info[0].voltage.vddci; in radeon_atombios_parse_pplib_non_clock_info() 2465 rdev->pm.power_state[state_index].clock_info[j].voltage.vddci = in radeon_atombios_parse_pplib_non_clock_info() 2509 rdev->pm.power_state[state_index].clock_info[mode_index].voltage.vddci = in radeon_atombios_parse_pplib_clock_info() 2522 rdev->pm.power_state[state_index].clock_info[mode_index].voltage.vddci = in radeon_atombios_parse_pplib_clock_info() 3215 u16 *vddc, u16 *vddci, in radeon_atom_get_leakage_vddc_based_on_leakage_params() argument [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | polaris10_smumgr.c | 358 uint16_t vddci; in polaris10_get_dependency_volt_by_clk() local 375 else if (dep_table->entries[i].vddci) in polaris10_get_dependency_volt_by_clk() 376 *voltage |= (dep_table->entries[i].vddci * in polaris10_get_dependency_volt_by_clk() 379 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk() 382 *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in polaris10_get_dependency_volt_by_clk() 403 else if (dep_table->entries[i-1].vddci) { in polaris10_get_dependency_volt_by_clk() 404 *voltage |= (dep_table->entries[i - 1].vddci * VOLTAGE_SCALE) << VDDC_SHIFT; in polaris10_get_dependency_volt_by_clk() 406 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk() 409 *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in polaris10_get_dependency_volt_by_clk() 1376 uint32_t vddci; in polaris10_populate_smc_vce_level() local [all …]
|
D | vegam_smumgr.c | 605 uint16_t vddci; in vegam_get_dependency_volt_by_clk() local 622 else if (dep_table->entries[i].vddci) in vegam_get_dependency_volt_by_clk() 623 *voltage |= (dep_table->entries[i].vddci * in vegam_get_dependency_volt_by_clk() 626 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk() 629 *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in vegam_get_dependency_volt_by_clk() 650 else if (dep_table->entries[i - 1].vddci) in vegam_get_dependency_volt_by_clk() 651 *voltage |= (dep_table->entries[i - 1].vddci * in vegam_get_dependency_volt_by_clk() 654 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk() 658 *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in vegam_get_dependency_volt_by_clk() 1205 uint32_t vddci; in vegam_populate_smc_vce_level() local [all …]
|
D | fiji_smumgr.c | 357 uint16_t vddci; in fiji_get_dependency_volt_by_clk() local 374 else if (dep_table->entries[i].vddci) in fiji_get_dependency_volt_by_clk() 375 *voltage |= (dep_table->entries[i].vddci * in fiji_get_dependency_volt_by_clk() 378 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk() 381 *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in fiji_get_dependency_volt_by_clk() 402 else if (dep_table->entries[i-1].vddci) { in fiji_get_dependency_volt_by_clk() 403 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk() 406 *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in fiji_get_dependency_volt_by_clk()
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 3311 u16 *vddc, u16 *vddci) in btc_apply_voltage_delta_rules() argument 3316 if ((0 == *vddc) || (0 == *vddci)) in btc_apply_voltage_delta_rules() 3319 if (*vddc > *vddci) { in btc_apply_voltage_delta_rules() 3320 if ((*vddc - *vddci) > adev->pm.dpm.dyn_state.vddc_vddci_delta) { in btc_apply_voltage_delta_rules() 3323 *vddci = (new_voltage < max_vddci) ? new_voltage : max_vddci; in btc_apply_voltage_delta_rules() 3326 if ((*vddci - *vddc) > adev->pm.dpm.dyn_state.vddc_vddci_delta) { in btc_apply_voltage_delta_rules() 3328 (*vddci - adev->pm.dpm.dyn_state.vddc_vddci_delta)); in btc_apply_voltage_delta_rules() 3430 u16 vddc, vddci, min_vce_voltage = 0; in si_apply_state_adjust_rules() local 3496 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules() 3497 ps->performance_levels[i].vddci = max_limits->vddci; in si_apply_state_adjust_rules() [all …]
|
D | si_dpm.h | 443 RV770_SMC_VOLTAGE_VALUE vddci; member 609 u16 vddci; /* eg+ only */ member 770 NISLANDS_SMC_VOLTAGE_VALUE vddci; member
|
D | sislands_smc.h | 148 SISLANDS_SMC_VOLTAGE_VALUE vddci; member
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu_helper.c | 293 vol_table->entries[i].value = dep_table->entries[i].vddci; in phm_get_svi2_vddci_voltage_table() 430 uint16_t phm_find_closest_vddci(struct pp_atomctrl_voltage_table *vddci_table, uint16_t vddci) in phm_find_closest_vddci() argument 435 if (vddci_table->entries[i].value >= vddci) in phm_find_closest_vddci() 705 dep_table->entries[i].vddci = allowed_dep_table->entries[i].vddci; in smu_get_voltage_dependency_table_ppt_v1()
|
D | hwmgr_ppt.h | 39 uint16_t vddci; member
|
D | smu7_hwmgr.c | 2482 table_info->max_clock_voltage_on_ac.vddci = in smu7_set_private_data_based_on_pptable_v1() 2483 allowed_mclk_vdd_table->entries[allowed_mclk_vdd_table->count - 1].vddci; in smu7_set_private_data_based_on_pptable_v1() 2488 hwmgr->dyn_state.max_clock_voltage_on_ac.vddci = table_info->max_clock_voltage_on_ac.vddci; in smu7_set_private_data_based_on_pptable_v1() 2753 uint32_t vddc, vddci; in smu7_patch_limits_vddc() local 2761 vddci = tab->vddci; in smu7_patch_limits_vddc() 2762 smu7_patch_ppt_v0_with_vdd_leakage(hwmgr, &vddci, in smu7_patch_limits_vddc() 2764 tab->vddci = vddci; in smu7_patch_limits_vddc() 2881 …hwmgr->dyn_state.max_clock_voltage_on_ac.vddci = hwmgr->dyn_state.vddci_dependency_on_mclk->entrie… in smu7_set_private_data_based_on_pptable_v0() 2898 uint16_t virtual_voltage_id, vddc, vddci, efuse_voltage_id; in smu7_get_elb_voltages() local 2905 if (atomctrl_get_leakage_vddc_base_on_leakage(hwmgr, &vddc, &vddci, in smu7_get_elb_voltages() [all …]
|
D | process_pptables_v1_0.c | 354 limits->vddci = le16_to_cpu(limitable->entries[0].usVddciLimit); in get_hard_limits() 390 mclk_table_record->vddci = le16_to_cpu(mclk_dep_record->usVddci); in get_mclk_voltage_dependency_table() 854 hwmgr->dyn_state.max_clock_voltage_on_dc.vddci = in init_clock_voltage_dependency() 855 pp_table_information->max_clock_voltage_on_dc.vddci; in init_clock_voltage_dependency()
|
D | smu_helper.h | 86 …ern uint16_t phm_find_closest_vddci(struct pp_atomctrl_voltage_table *vddci_table, uint16_t vddci);
|
D | vega10_hwmgr.h | 184 uint16_t vddci; member
|
D | vega12_hwmgr.h | 162 uint16_t vddci; member
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 347 smu->smu_table.boot_values.vddci = v_3_1->bootup_vddci_mv; in smu_v12_0_get_vbios_bootup_values() 364 smu->smu_table.boot_values.vddci = v_3_3->bootup_vddci_mv; in smu_v12_0_get_vbios_bootup_values()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.h | 186 u16 *vddc, u16 *vddci, u16 *mvdd);
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hardwaremanager.h | 274 uint32_t vddci; member
|