Home
last modified time | relevance | path

Searched refs:dpm_policy (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c3561 struct smu_dpm_policy *dpm_policy; in smu_get_pm_policy_info() local
3572 dpm_policy = smu_get_pm_policy(smu, p_type); in smu_get_pm_policy_info()
3573 if (!dpm_policy || !dpm_policy->level_mask || !dpm_policy->desc) in smu_get_pm_policy_info()
3579 smu_print_dpm_policy(dpm_policy, sysbuf, &offset); in smu_get_pm_policy_info()
3607 struct smu_dpm_policy *dpm_policy = NULL; in smu_set_pm_policy() local
3619 dpm_policy = smu_get_pm_policy(smu, p_type); in smu_set_pm_policy()
3621 if (!dpm_policy || !dpm_policy->level_mask || !dpm_policy->set_policy) in smu_set_pm_policy()
3624 if (dpm_policy->current_level == level) in smu_set_pm_policy()
3627 ret = dpm_policy->set_policy(smu, level); in smu_set_pm_policy()
3630 dpm_policy->current_level = level; in smu_set_pm_policy()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h370 char *(*get_desc)(struct smu_dpm_policy *dpm_policy, int level);