summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay
diff options
context:
space:
mode:
authorJunwei Zhang <Jerry.Zhang@amd.com>2018-05-09 17:17:58 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:44:22 -0500
commit267256b5d884b1494cf30636c66cd95eeb25f41f (patch)
treeeff7a7b46a926d1c07665097b3155a4601cb9b9d /drivers/gpu/drm/amd/powerplay
parentf4c2cc43218150da670f526aba1eeb3bcec9e3d2 (diff)
downloadlinux-267256b5d884b1494cf30636c66cd95eeb25f41f.tar.bz2
drm/amd/powerplay: add PME smu message for raven
Used for working around an audio bug on some platforms. Signed-off-by: Junwei Zhang <Jerry.Zhang@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/powerplay')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h3
1 files changed, 2 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 5d07b6ea0a55..a2991fa2e6f8 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
@@ -82,7 +82,8 @@
#define PPSMC_MSG_SetSoftMaxFclkByFreq 0x33
#define PPSMC_MSG_SetSoftMaxVcn 0x34
#define PPSMC_MSG_PowerGateMmHub 0x35
-#define PPSMC_Message_Count 0x36
+#define PPSMC_MSG_SetRccPfcPmeRestoreRegister 0x36
+#define PPSMC_Message_Count 0x37
typedef uint16_t PPSMC_Result;