From: Junwei Zhang Date: Wed, 9 May 2018 09:17:58 +0000 (+0800) Subject: drm/amd/powerplay: add PME smu message for raven X-Git-Tag: v4.18-rc1~128^2~12^2~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=267256b5d884b1494cf30636c66cd95eeb25f41f;p=users%2Fjedix%2Flinux-maple.git drm/amd/powerplay: add PME smu message for raven Used for working around an audio bug on some platforms. Signed-off-by: Junwei Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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;