aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1984-drm-amd-pp-export-new-smu-messages-for-vega10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1984-drm-amd-pp-export-new-smu-messages-for-vega10.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1984-drm-amd-pp-export-new-smu-messages-for-vega10.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1984-drm-amd-pp-export-new-smu-messages-for-vega10.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1984-drm-amd-pp-export-new-smu-messages-for-vega10.patch
new file mode 100644
index 00000000..1d8a0817
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1984-drm-amd-pp-export-new-smu-messages-for-vega10.patch
@@ -0,0 +1,28 @@
+From ea35857a04835f3609372f5bf47ff9bc4920eeec Mon Sep 17 00:00:00 2001
+From: Rex Zhu <Rex.Zhu@amd.com>
+Date: Fri, 15 Sep 2017 17:14:09 +0800
+Subject: [PATCH 1984/4131] drm/amd/pp: export new smu messages for vega10
+
+Change-Id: I8f1f85468d0a55b15b65785b0999e8c20555f340
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
+index 5dbd54f..b7638ba 100644
+--- a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
++++ b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h
+@@ -124,6 +124,8 @@ typedef uint16_t PPSMC_Result;
+ #define PPSMC_MSG_NumOfDisplays 0x56
+ #define PPSMC_MSG_ReadSerialNumTop32 0x58
+ #define PPSMC_MSG_ReadSerialNumBottom32 0x59
++#define PPSMC_MSG_SetSystemVirtualDramAddrHigh 0x5A
++#define PPSMC_MSG_SetSystemVirtualDramAddrLow 0x5B
+ #define PPSMC_MSG_RunAcgBtc 0x5C
+ #define PPSMC_MSG_RunAcgInClosedLoop 0x5D
+ #define PPSMC_MSG_RunAcgInOpenLoop 0x5E
+--
+2.7.4
+