summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-10-13 14:17:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-15 12:21:17 -0400
commit76c71f00d7eb1aaf6c3c3bb4c9f86c91fbf866ec (patch)
treee2a28790ab3eba82ff6c6934d6e79edde2509f2c /drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
parent27747293ce24d6900614ae7a1075a1cfd38a32c3 (diff)
downloadlwn-76c71f00d7eb1aaf6c3c3bb4c9f86c91fbf866ec.tar.gz
lwn-76c71f00d7eb1aaf6c3c3bb4c9f86c91fbf866ec.zip
drm/amd/pm: properly setting GPO feature on UMD pstate entering/exiting
Disable/enable the GPO feature on UMD pstate entering/exiting. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/smu_internal.h')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h b/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
index c7e1fe5f442d..f7be2d1a0ff2 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
@@ -89,6 +89,7 @@
#define smu_deep_sleep_control(smu, enablement) smu_ppt_funcs(deep_sleep_control, 0, smu, enablement)
#define smu_get_fan_parameters(smu) smu_ppt_funcs(get_fan_parameters, 0, smu)
#define smu_post_init(smu) smu_ppt_funcs(post_init, 0, smu)
+#define smu_gpo_control(smu, enablement) smu_ppt_funcs(gpo_control, 0, smu, enablement)
#endif
#endif