smu_dpm_ctx 1535 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 1536 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (!smu->pm_enabled || !smu_dpm_ctx->dpm_context) smu_dpm_ctx 1539 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (!(smu_dpm_ctx->dpm_level & profile_mode_mask)) { smu_dpm_ctx 1542 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu_dpm_ctx->saved_dpm_level = smu_dpm_ctx->dpm_level; smu_dpm_ctx 1543 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu_dpm_ctx->enable_umd_pstate = true; smu_dpm_ctx 1555 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c *level = smu_dpm_ctx->saved_dpm_level; smu_dpm_ctx 1556 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu_dpm_ctx->enable_umd_pstate = false; smu_dpm_ctx 1613 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 1640 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (smu_dpm_ctx->dpm_level != level) { smu_dpm_ctx 1651 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu_dpm_ctx->dpm_level = level; smu_dpm_ctx 1654 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { smu_dpm_ctx 1697 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 1721 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (smu_dpm_ctx->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) smu_dpm_ctx 1731 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 1734 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (!smu_dpm_ctx->dpm_context) smu_dpm_ctx 1738 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c level = smu_dpm_ctx->dpm_level; smu_dpm_ctx 1746 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 1749 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (!smu_dpm_ctx->dpm_context) smu_dpm_ctx 631 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 633 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu_dpm_ctx->dpm_context || smu_dpm_ctx 634 drivers/gpu/drm/amd/powerplay/vega20_ppt.c !smu_dpm_ctx->dpm_current_power_state) smu_dpm_ctx 638 drivers/gpu/drm/amd/powerplay/vega20_ppt.c switch (smu_dpm_ctx->dpm_current_power_state->classification.ui_label) { smu_dpm_ctx 649 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_current_power_state->classification.flags & SMU_STATE_CLASSIFICATION_FLAG_BOOT) smu_dpm_ctx 2034 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 2035 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu_dpm_ctx->dpm_context) smu_dpm_ctx 2105 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm_ctx 2106 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct vega20_dpm_table *dpm_ctx = (struct vega20_dpm_table *)(smu_dpm_ctx->dpm_context); smu_dpm_ctx 2128 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { smu_dpm_ctx 2133 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { smu_dpm_ctx 2150 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { smu_dpm_ctx 2155 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { smu_dpm_ctx 2167 drivers/gpu/drm/amd/powerplay/vega20_ppt.c for (i = 0; i < smu_dpm_ctx->mclk_latency_table->count - 1; i++) { smu_dpm_ctx 2168 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->mclk_latency_table->entries[i].latency <= latency) { smu_dpm_ctx 2192 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { smu_dpm_ctx 2209 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { smu_dpm_ctx 2226 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { smu_dpm_ctx 2243 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) {