aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1039-drm-amd-powerplay-added-new-raven-ppsmc-messages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1039-drm-amd-powerplay-added-new-raven-ppsmc-messages.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1039-drm-amd-powerplay-added-new-raven-ppsmc-messages.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1039-drm-amd-powerplay-added-new-raven-ppsmc-messages.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1039-drm-amd-powerplay-added-new-raven-ppsmc-messages.patch
new file mode 100644
index 00000000..2c34ef89
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1039-drm-amd-powerplay-added-new-raven-ppsmc-messages.patch
@@ -0,0 +1,34 @@
+From df93811d9ef361d680176eee7baf788c096227ab Mon Sep 17 00:00:00 2001
+From: Evan Quan <evan.quan@amd.com>
+Date: Tue, 26 Sep 2017 11:37:34 +0800
+Subject: [PATCH 1039/4131] drm/amd/powerplay: added new raven ppsmc messages
+
+Change-Id: I598f8ab583fc9c7045a4852d6972df90a82f7472
+Signed-off-by: Evan Quan <evan.quan@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+index 901c960c..2b34971 100644
+--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
++++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+@@ -70,7 +70,12 @@
+ #define PPSMC_MSG_SetPhyclkVoltageByFreq 0x26
+ #define PPSMC_MSG_SetDppclkVoltageByFreq 0x27
+ #define PPSMC_MSG_SetSoftMinVcn 0x28
+-#define PPSMC_Message_Count 0x29
++#define PPSMC_MSG_GetGfxclkFrequency 0x2A
++#define PPSMC_MSG_GetFclkFrequency 0x2B
++#define PPSMC_MSG_GetMinGfxclkFrequency 0x2C
++#define PPSMC_MSG_GetMaxGfxclkFrequency 0x2D
++#define PPSMC_MSG_SoftReset 0x2E
++#define PPSMC_Message_Count 0x2F
+
+
+ typedef uint16_t PPSMC_Result;
+--
+2.7.4
+