aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-04-21 03:04:07 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 18:25:14 -0400
commite5432ebd0d51b65231a0761573f94c26c45a0ead (patch)
treec501535267a6904f791c0d4c93347a01fedbb766
parent781e263bffe7f4e7838acad630291b90b09c8614 (diff)
drm/amd/powerplay: add new smu message for Rv
Add additional smu messages. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
index 65149c78d2fe..e0e106f1b23a 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
@@ -35,6 +35,7 @@
35#define PPSMC_MSG_TestMessage 0x1 35#define PPSMC_MSG_TestMessage 0x1
36#define PPSMC_MSG_GetSmuVersion 0x2 36#define PPSMC_MSG_GetSmuVersion 0x2
37#define PPSMC_MSG_GetDriverIfVersion 0x3 37#define PPSMC_MSG_GetDriverIfVersion 0x3
38#define PPSMC_MSG_PowerUpGfx 0x6
38#define PPSMC_MSG_EnableGfxOff 0x7 39#define PPSMC_MSG_EnableGfxOff 0x7
39#define PPSMC_MSG_DisableGfxOff 0x8 40#define PPSMC_MSG_DisableGfxOff 0x8
40#define PPSMC_MSG_PowerDownIspByTile 0x9 41#define PPSMC_MSG_PowerDownIspByTile 0x9
@@ -48,7 +49,7 @@
48#define PPSMC_MSG_SetMinDisplayClock 0x11 49#define PPSMC_MSG_SetMinDisplayClock 0x11
49#define PPSMC_MSG_SetHardMinFclkByFreq 0x12 50#define PPSMC_MSG_SetHardMinFclkByFreq 0x12
50#define PPSMC_MSG_SetAllowFclkSwitch 0x13 51#define PPSMC_MSG_SetAllowFclkSwitch 0x13
51#define PPSMC_MSG_SetGfxMinActiveFreq 0x14 52#define PPSMC_MSG_SetMinVideoGfxclkFreq 0x14
52#define PPSMC_MSG_ActiveProcessNotify 0x15 53#define PPSMC_MSG_ActiveProcessNotify 0x15
53#define PPSMC_MSG_SetCustomPolicy 0x16 54#define PPSMC_MSG_SetCustomPolicy 0x16
54#define PPSMC_MSG_SetVideoFps 0x17 55#define PPSMC_MSG_SetVideoFps 0x17
@@ -63,9 +64,9 @@
63#define PPSMC_MSG_SetHardMinDcefclkByFreq 0x20 64#define PPSMC_MSG_SetHardMinDcefclkByFreq 0x20
64#define PPSMC_MSG_SetHardMinSocclkByFreq 0x21 65#define PPSMC_MSG_SetHardMinSocclkByFreq 0x21
65#define PPSMC_MSG_SetMinVddcrSocVoltage 0x22 66#define PPSMC_MSG_SetMinVddcrSocVoltage 0x22
66 67#define PPSMC_MSG_SetMinVideoFclkFreq 0x23
67 68#define PPSMC_MSG_SetMinDeepSleepDcefclk 0x24
68#define PPSMC_Message_Count 0x23 69#define PPSMC_Message_Count 0x25
69 70
70typedef uint16_t PPSMC_Result; 71typedef uint16_t PPSMC_Result;
71typedef int PPSMC_Msg; 72typedef int PPSMC_Msg;