drm/amd/pm: add get enable mask function for smu v13_0_7
authorLikun Gao <Likun.Gao@amd.com>
Tue, 1 Mar 2022 09:22:14 +0000 (17:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:53:10 +0000 (16:53 -0400)
Add get_enabled_mask interface for smu v13_0_7.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

index f62402f..bb183f4 100644 (file)
@@ -457,6 +457,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
        .set_driver_table_location = smu_v13_0_set_driver_table_location,
        .system_features_control = smu_v13_0_system_features_control,
        .set_allowed_mask = smu_v13_0_set_allowed_mask,
+       .get_enabled_mask = smu_cmn_get_enabled_mask,
 };
 
 void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)