Searched refs:smu_dpm_ctx (Results 1 – 2 of 2) sorted by relevance
1531 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_enable_umd_pstate() local1532 if (!smu->pm_enabled || !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()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()1539 smu_dpm_ctx->enable_umd_pstate = true; in smu_enable_umd_pstate()1551 *level = smu_dpm_ctx->saved_dpm_level; in smu_enable_umd_pstate()1552 smu_dpm_ctx->enable_umd_pstate = false; in smu_enable_umd_pstate()1609 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_adjust_power_state_dynamic() local1636 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()[all …]
631 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vega20_get_current_power_state() local633 if (!smu_dpm_ctx->dpm_context || in vega20_get_current_power_state()634 !smu_dpm_ctx->dpm_current_power_state) in vega20_get_current_power_state()638 switch (smu_dpm_ctx->dpm_current_power_state->classification.ui_label) { in vega20_get_current_power_state()649 …if (smu_dpm_ctx->dpm_current_power_state->classification.flags & SMU_STATE_CLASSIFICATION_FLAG_BOO… in vega20_get_current_power_state()2031 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vega20_set_uclk_to_highest_dpm_level() local2032 if (!smu_dpm_ctx->dpm_context) in vega20_set_uclk_to_highest_dpm_level()2102 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vega20_apply_clocks_adjust_rules() local2103 struct vega20_dpm_table *dpm_ctx = (struct vega20_dpm_table *)(smu_dpm_ctx->dpm_context); in vega20_apply_clocks_adjust_rules()2125 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { in vega20_apply_clocks_adjust_rules()[all …]