summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-09-11 16:21:34 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-27 11:58:39 -0400
commit9610a3bfde4100c67ecc3367ed34d43d918be88f (patch)
tree5859b85bd0d493043ef9bdf831d74785e57f4104 /drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h
parentc420418f1d7c3a6680e64a6e1052c556fe5473b8 (diff)
downloadlinux-9610a3bfde4100c67ecc3367ed34d43d918be88f.tar.bz2
drm/amd/pm: setup zero rpm parameters for polaris10
Only if the ZeroRPM feature is supported. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h')
-rw-r--r--drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h b/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h
index 6e19f4c7cf8f..0454ec990a5e 100644
--- a/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h
+++ b/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h
@@ -394,6 +394,7 @@ typedef uint16_t PPSMC_Result;
#define PPSMC_MSG_SetGpuPllDfsForSclk ((uint16_t) 0x300)
#define PPSMC_MSG_Didt_Block_Function ((uint16_t) 0x301)
+#define PPSMC_MSG_EnableZeroRpm ((uint16_t) 0x302)
#define PPSMC_MSG_SetVBITimeout ((uint16_t) 0x306)