drm/amd/powerplay: add PME smu message for raven
authorJunwei Zhang <Jerry.Zhang@amd.com>
Wed, 9 May 2018 09:17:58 +0000 (17:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:22 +0000 (13:44 -0500)
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>
drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h

index 5d07b6ea0a55404fe6b31e9c60c1a52bf5e29ea2..a2991fa2e6f8e89ef1151fb25c76c79c534de82a 100644 (file)
@@ -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;