summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2020-12-09 05:23:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-06-04 23:03:13 +0300
commit94adc46fb01c3276d51424d5fd0f68ce4e870abf (patch)
treedfcdb5e991ea33168f44058beab35f923b832435 /drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
parent903bb18bcda39fb0929aeea84a93d74a4787cd3c (diff)
downloadlinux-94adc46fb01c3276d51424d5fd0f68ce4e870abf.tar.xz
drm/amdgpu/pm: set_pp_feature is unsupport for yellow carp
For yellow carp, SMU firmware just only supports get_pp_feature. Signed-off-by: Aaron Liu <aaron.liu@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
index fd6b3f043efb..d849fa83f01f 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
@@ -149,9 +149,8 @@ static const struct pptable_funcs yellow_carp_ppt_funcs = {
.send_smc_msg = smu_cmn_send_smc_msg,
.set_default_dpm_table = smu_v13_0_1_set_default_dpm_tables,
.is_dpm_running = yellow_carp_is_dpm_running,
+ .get_enabled_mask = smu_cmn_get_enabled_32_bits_mask,
.get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
- .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
- .disable_all_features_with_exception = smu_cmn_disable_all_features_with_exception,
};
void yellow_carp_set_ppt_funcs(struct smu_context *smu)