Home
last modified time | relevance | path

Searched refs:smu_dpm_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/ !
Damdgpu_smu.c370 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_restore_dpm_user_profile() local
390 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in smu_restore_dpm_user_profile()
1802 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_enable_umd_pstate() local
1804 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()
1807 if (!(smu_dpm_ctx->dpm_level & profile_mode_mask)) { in smu_enable_umd_pstate()
1810 smu_dpm_ctx->saved_dpm_level = smu_dpm_ctx->dpm_level; in smu_enable_umd_pstate()
1820 *level = smu_dpm_ctx->saved_dpm_level; in smu_enable_umd_pstate()
1850 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_adjust_power_state_dynamic() local
1874 if (smu_dpm_ctx->dpm_level != level) { in smu_adjust_power_state_dynamic()
1882 smu_dpm_ctx->dpm_level = level; in smu_adjust_power_state_dynamic()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/ !
Drenoir_ppt.c388 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_od_edit_dpm_table() local
390 if (!(smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL)) { in renoir_od_edit_dpm_table()
500 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_print_clk_levels() local
513 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in renoir_print_clk_levels()
528 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in renoir_print_clk_levels()
623 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_get_current_power_state() local
625 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()
626 !smu_dpm_ctx->dpm_current_power_state) in renoir_get_current_power_state()
629 switch (smu_dpm_ctx->dpm_current_power_state->classification.ui_label) { in renoir_get_current_power_state()
640 …if (smu_dpm_ctx->dpm_current_power_state->classification.flags & SMU_STATE_CLASSIFICATION_FLAG_BOO… in renoir_get_current_power_state()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/ !
Dvangogh_ppt.c588 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_legacy_clk_levels() local
603 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()
612 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()
621 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()
690 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_clk_levels() local
706 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()
715 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()
724 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()
2053 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_od_edit_dpm_table() local
2055 if (!(smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL)) { in vangogh_od_edit_dpm_table()