summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-03-02 13:50:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-05 15:39:20 -0500
commit15826fbfef16a20799fa7c990df758b455bf7b62 (patch)
tree37893ac6add6e86bf19bb32387bc9d8bad39cc80 /drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
parentcc1bb66fbc26c29d360fab4b8d66fb7f278a2564 (diff)
drm/amd/pp: Add PCC feature support on Vega
This features controls vega peak current protection to allow for a wider compatibility with power supplies. 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/vega10_ppsmc.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
index 247c97397a27..c3ed737ab951 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
@@ -131,6 +131,7 @@ typedef uint16_t PPSMC_Result;
#define PPSMC_MSG_RunAcgInOpenLoop 0x5E
#define PPSMC_MSG_InitializeAcg 0x5F
#define PPSMC_MSG_GetCurrPkgPwr 0x61
+#define PPSMC_MSG_SetPccThrottleLevel 0x67
#define PPSMC_MSG_UpdatePkgPwrPidAlpha 0x68
#define PPSMC_Message_Count 0x69