aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3459-drm-amd-powerplay-Fix-meaning-of-0x1E-PPSMC_MSG.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3459-drm-amd-powerplay-Fix-meaning-of-0x1E-PPSMC_MSG.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3459-drm-amd-powerplay-Fix-meaning-of-0x1E-PPSMC_MSG.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3459-drm-amd-powerplay-Fix-meaning-of-0x1E-PPSMC_MSG.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3459-drm-amd-powerplay-Fix-meaning-of-0x1E-PPSMC_MSG.patch
new file mode 100644
index 00000000..65cdb9ef
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3459-drm-amd-powerplay-Fix-meaning-of-0x1E-PPSMC_MSG.patch
@@ -0,0 +1,28 @@
+From 215d85d704e0e6a25f4e58699070a70c21d73bb8 Mon Sep 17 00:00:00 2001
+From: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Date: Fri, 26 Jul 2019 14:03:56 -0400
+Subject: [PATCH 3459/4256] drm/amd/powerplay: Fix meaning of 0x1E PPSMC_MSG
+
+By comparing to windows it means ASIC reset.
+
+Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h | 2 +-
+ 1 file changed, 1 insertion(+), 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 90879e4092a3..df4677da736c 100644
+--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
++++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h
+@@ -59,7 +59,7 @@
+ #define PPSMC_MSG_SetDriverDramAddrLow 0x1B
+ #define PPSMC_MSG_TransferTableSmu2Dram 0x1C
+ #define PPSMC_MSG_TransferTableDram2Smu 0x1D
+-#define PPSMC_MSG_ControlGfxRM 0x1E
++#define PPSMC_MSG_DeviceDriverReset 0x1E
+ #define PPSMC_MSG_SetGfxclkOverdriveByFreqVid 0x1F
+ #define PPSMC_MSG_SetHardMinDcefclkByFreq 0x20
+ #define PPSMC_MSG_SetHardMinSocclkByFreq 0x21
+--
+2.17.1
+