summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
diff options
context:
space:
mode:
authorEric Huang <JinHuiEric.Huang@amd.com>2017-10-19 14:44:36 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-10-25 22:45:11 -0400
commit75e500865fca102e4663cff2f02d67a62625ceb9 (patch)
tree19f1840bb0f906518c668bad87cd7094fe08f14d /drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
parent7265d50ea20f0dfe7e6d077a2feb50369773c090 (diff)
downloadlinux-75e500865fca102e4663cff2f02d67a62625ceb9.tar.bz2
drm/amd/powerplay: add one smc message for Vega10
This is used to fix performance drop caused by updated SMU FW. Signed-off-by: Eric Huang <JinHuiEric.Huang@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/powerplay/inc/vega10_ppsmc.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
index d06ece4ac47d..247c97397a27 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
@@ -131,7 +131,8 @@ typedef uint16_t PPSMC_Result;
#define PPSMC_MSG_RunAcgInOpenLoop 0x5E
#define PPSMC_MSG_InitializeAcg 0x5F
#define PPSMC_MSG_GetCurrPkgPwr 0x61
-#define PPSMC_Message_Count 0x62
+#define PPSMC_MSG_UpdatePkgPwrPidAlpha 0x68
+#define PPSMC_Message_Count 0x69
typedef int PPSMC_Msg;