summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-12-13 15:26:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-12-19 12:11:58 -0500
commitea478d01edf1bd619f9187af174e1c14e1236e8d (patch)
tree402797821f784cfa8d013a772b03277c85c7d22a /drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
parent8621bbbbd3f4bdbdc17122a32becbbfbdf572100 (diff)
downloadlinux-ea478d01edf1bd619f9187af174e1c14e1236e8d.tar.bz2
drm/amd/pp: export more smu message on Rv
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
index 2b3497135bbd..f15f4df9d0a9 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
@@ -75,7 +75,12 @@
#define PPSMC_MSG_GetMinGfxclkFrequency 0x2C
#define PPSMC_MSG_GetMaxGfxclkFrequency 0x2D
#define PPSMC_MSG_SoftReset 0x2E
-#define PPSMC_Message_Count 0x2F
+#define PPSMC_MSG_SetSoftMaxGfxClk 0x30
+#define PPSMC_MSG_SetHardMinGfxClk 0x31
+#define PPSMC_MSG_SetSoftMaxSocclkByFreq 0x32
+#define PPSMC_MSG_SetSoftMaxFclkByFreq 0x33
+#define PPSMC_MSG_SetSoftMaxVcn 0x34
+#define PPSMC_Message_Count 0x35
typedef uint16_t PPSMC_Result;