/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/ |
renoir_ppt.h | 35 #define GET_DPM_CUR_FREQ(table, clk_type, dpm_level, freq) \ 39 freq = table->SocClocks[dpm_level].Freq; \ 42 freq = table->MemClocks[dpm_level].Freq; \ 45 freq = table->DcfClocks[dpm_level].Freq; \ 48 freq = table->FClocks[dpm_level].Freq; \
|
amdgpu_amd_powerplay.c | 324 if (!(hwmgr->dpm_level & profile_mode_mask)) { 327 hwmgr->saved_dpm_level = hwmgr->dpm_level; 360 if (level == hwmgr->dpm_level) 382 level = hwmgr->dpm_level; 733 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { 907 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { 989 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL)
|
smu_internal.h | 200 #define smu_get_dpm_clk_limited(smu, clk_type, dpm_level, freq) \ 201 ((smu)->ppt_funcs->get_dpm_clk_limited ? (smu)->ppt_funcs->get_dpm_clk_limited((smu), (clk_type), (dpm_level), (freq)) : -EINVAL)
|
amdgpu_smu.c | 816 smu->smu_dpm.dpm_level, 933 smu->smu_dpm.dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; 1686 if (!(smu_dpm_ctx->dpm_level & profile_mode_mask)) { 1689 smu_dpm_ctx->saved_dpm_level = smu_dpm_ctx->dpm_level; 1750 if (smu_dpm_ctx->dpm_level != level) { 1758 smu_dpm_ctx->dpm_level = level; 1761 if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { 1836 if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) 1853 level = smu_dpm_ctx->dpm_level; 1903 if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) [all...] |
amdgpu_vega20_ppt.c | 2115 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { 2120 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2137 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { 2142 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2179 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2196 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2213 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2230 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2588 ret = smu_handle_task(smu, smu_dpm->dpm_level, 2816 ret = smu_handle_task(smu, smu_dpm->dpm_level, [all...] |
amdgpu_renoir_ppt.c | 231 uint32_t dpm_level, uint32_t *freq) 238 GET_DPM_CUR_FREQ(clk_table, clk_type, dpm_level, *freq);
|
amdgpu_navi10_ppt.c | 2147 ret = smu_handle_task(smu, smu->smu_dpm.dpm_level,
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
amdgpu_pp_psm.c | 288 hwmgr->dpm_level = hwmgr->request_dpm_level; 290 if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) {
|
amdgpu_smu_helper.c | 360 dpm_table->dpm_level[i].enabled = false; 371 dpm_table->dpm_level[index].value = pcie_gen; 372 dpm_table->dpm_level[index].param1 = pcie_lanes; 373 dpm_table->dpm_level[index].enabled = 1; 384 if (dpm_table->dpm_level[i - 1].enabled) 455 if (value == dpm_table->dpm_level[i].value) {
|
amdgpu_vega12_hwmgr.c | 2202 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { 2207 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2226 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { 2231 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2270 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2289 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2308 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 2327 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) {
|
ppatomctrl.h | 316 uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage, uint16_t dpm_level, bool debug);
|
amdgpu_hwmgr.c | 97 hwmgr->dpm_level = AMD_DPM_FORCED_LEVEL_AUTO;
|
amdgpu_vega20_hwmgr.c | 3666 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { 3671 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 3690 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { 3695 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 3750 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 3769 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 3788 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { 3807 if (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) {
|
amdgpu_ppatomctrl.c | 651 uint16_t dpm_level, 700 switch (dpm_level) {
|
amdgpu_vega10_hwmgr.c | 4242 if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) 4244 else if (level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) 4555 (hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK))
|
amdgpu_smu7_hwmgr.c | 2848 if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) 2850 else if (level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK)
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/inc/ |
amdgpu_smu.h | 286 enum amd_dpm_forced_level dpm_level; member in struct:smu_dpm_context 487 uint32_t dpm_level, uint32_t *freq);
|
hwmgr.h | 65 struct vi_dpm_level dpm_level[1]; member in struct:vi_dpm_table 760 enum amd_dpm_forced_level dpm_level; member in struct:pp_hwmgr
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/ |
amdgpu_ci_smumgr.c | 2886 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_UVDDPM)) 2917 if (hwmgr->dpm_level & profile_mode_mask || !PP_CAP(PHM_PlatformCaps_VCEDPM))
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_pm.c | 3506 smu_dpm->dpm_level,
|