summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2017-12-14 13:38:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:43:38 -0500
commitaf15890df97d09e2faba2199b36f5e69bf129342 (patch)
treef839258973ceb4d45c618183f7fb8bc2b57c845e /drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
parent0df3e67d343b6af7eb71f6353f93e4d0a5e952a7 (diff)
downloadlinux-af15890df97d09e2faba2199b36f5e69bf129342.tar.bz2
drm/amd/powerplay: send CGPG smc message if PG is enabled for raven
Signed-off-by: Huang Rui <ray.huang@amd.com> Acked-by: Hawking Zhang <Hawking.Zhang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
index 426bff2aad2b..5d07b6ea0a55 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
@@ -75,6 +75,7 @@
#define PPSMC_MSG_GetMinGfxclkFrequency 0x2C
#define PPSMC_MSG_GetMaxGfxclkFrequency 0x2D
#define PPSMC_MSG_SoftReset 0x2E
+#define PPSMC_MSG_SetGfxCGPG 0x2F
#define PPSMC_MSG_SetSoftMaxGfxClk 0x30
#define PPSMC_MSG_SetHardMinGfxClk 0x31
#define PPSMC_MSG_SetSoftMaxSocclkByFreq 0x32