Searched refs:dpm_level (Results 1 – 17 of 17) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/ |
| D | renoir_ppt.h | 33 #define GET_DPM_CUR_FREQ(table, clk_type, dpm_level, freq) \ argument 37 freq = table->SocClocks[dpm_level].Freq; \ 40 freq = table->MemClocks[dpm_level].Freq; \ 43 freq = table->DcfClocks[dpm_level].Freq; \ 46 freq = table->FClocks[dpm_level].Freq; \
|
| D | amdgpu_smu.c | 754 smu->smu_dpm.dpm_level, in smu_late_init() 870 smu->smu_dpm.dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; in smu_sw_init() 1535 if (!(smu_dpm_ctx->dpm_level & profile_mode_mask)) { in smu_enable_umd_pstate() 1538 smu_dpm_ctx->saved_dpm_level = smu_dpm_ctx->dpm_level; in smu_enable_umd_pstate() 1636 if (smu_dpm_ctx->dpm_level != level) { in smu_adjust_power_state_dynamic() 1647 smu_dpm_ctx->dpm_level = level; in smu_adjust_power_state_dynamic() 1650 if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { in smu_adjust_power_state_dynamic() 1717 if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) in smu_switch_power_profile() 1734 level = smu_dpm_ctx->dpm_level; in smu_get_performance_level()
|
| D | amd_powerplay.c | 318 if (!(hwmgr->dpm_level & profile_mode_mask)) { in pp_dpm_en_umd_pstate() 321 hwmgr->saved_dpm_level = hwmgr->dpm_level; in pp_dpm_en_umd_pstate() 354 if (level == hwmgr->dpm_level) in pp_dpm_force_performance_level() 376 level = hwmgr->dpm_level; in pp_dpm_get_performance_level() 727 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { in pp_dpm_force_clock_level() 901 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { in pp_set_power_profile_mode() 972 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) in pp_dpm_switch_power_profile()
|
| D | vega20_ppt.c | 1280 if (smu_dpm->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { in vega20_force_clk_levels() 2125 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { in vega20_apply_clocks_adjust_rules() 2130 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 2147 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { in vega20_apply_clocks_adjust_rules() 2152 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 2189 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 2206 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 2223 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 2240 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 2600 ret = smu_handle_task(smu, smu_dpm->dpm_level, in vega20_set_od_percentage() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
| D | smu_helper.c | 355 dpm_table->dpm_level[i].enabled = false; in phm_reset_single_dpm_table() 366 dpm_table->dpm_level[index].value = pcie_gen; in phm_setup_pcie_table_entry() 367 dpm_table->dpm_level[index].param1 = pcie_lanes; in phm_setup_pcie_table_entry() 368 dpm_table->dpm_level[index].enabled = 1; in phm_setup_pcie_table_entry() 379 if (dpm_table->dpm_level[i - 1].enabled) in phm_get_dpm_level_enable_mask_value() 450 if (value == dpm_table->dpm_level[i].value) { in phm_find_boot_level()
|
| D | pp_psm.c | 281 hwmgr->dpm_level = hwmgr->request_dpm_level; in psm_adjust_power_state_dynamic() 283 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { in psm_adjust_power_state_dynamic()
|
| D | vega12_hwmgr.c | 2197 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { in vega12_apply_clocks_adjust_rules() 2202 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega12_apply_clocks_adjust_rules() 2221 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { in vega12_apply_clocks_adjust_rules() 2226 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega12_apply_clocks_adjust_rules() 2265 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega12_apply_clocks_adjust_rules() 2284 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega12_apply_clocks_adjust_rules() 2303 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega12_apply_clocks_adjust_rules() 2322 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega12_apply_clocks_adjust_rules()
|
| D | ppatomctrl.h | 314 uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage, uint16_t dpm_level, bool debug);
|
| D | vega20_hwmgr.c | 3656 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { in vega20_apply_clocks_adjust_rules() 3661 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 3680 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { in vega20_apply_clocks_adjust_rules() 3685 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 3740 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 3759 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 3778 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules() 3797 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { in vega20_apply_clocks_adjust_rules()
|
| D | hwmgr.c | 89 hwmgr->dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; in hwmgr_early_init()
|
| D | ppatomctrl.c | 646 uint16_t dpm_level, in atomctrl_calculate_voltage_evv_on_sclk() argument 695 switch (dpm_level) { in atomctrl_calculate_voltage_evv_on_sclk()
|
| D | smu7_hwmgr.c | 2841 …if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_PROFILE… in smu7_force_dpm_level() 2843 …else if (level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PR… in smu7_force_dpm_level()
|
| D | vega10_hwmgr.c | 4175 …if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_PROFILE… in vega10_dpm_force_dpm_level() 4177 …else if (level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PR… in vega10_dpm_force_dpm_level()
|
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ |
| D | hwmgr.h | 63 struct vi_dpm_level dpm_level[1]; member 753 enum amd_dpm_forced_level dpm_level; member
|
| D | amdgpu_smu.h | 275 enum amd_dpm_forced_level dpm_level; member
|
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
| D | ci_smumgr.c | 2881 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_UVDDPM)) in ci_update_uvd_smc_table() 2912 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_VCEDPM)) in ci_update_vce_smc_table()
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_pm.c | 3010 smu_dpm->dpm_level, in amdgpu_pm_compute_clocks()
|