aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/1095-drm-amdgpu-update-THM-IP-register-header-to-support-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1095-drm-amdgpu-update-THM-IP-register-header-to-support-.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/1095-drm-amdgpu-update-THM-IP-register-header-to-support-.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1095-drm-amdgpu-update-THM-IP-register-header-to-support-.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1095-drm-amdgpu-update-THM-IP-register-header-to-support-.patch
new file mode 100644
index 00000000..e6f46521
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1095-drm-amdgpu-update-THM-IP-register-header-to-support-.patch
@@ -0,0 +1,29 @@
+From 2b877465c6bf2162068cb8759c9397d0ae69884e Mon Sep 17 00:00:00 2001
+From: Jim Qu <Jim.Qu@amd.com>
+Date: Thu, 8 Nov 2018 18:32:41 +0800
+Subject: [PATCH 1095/2940] drm/amdgpu: update THM IP register header to
+ support BACO
+
+Signed-off-by: Jim Qu <Jim.Qu@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>
+---
+ drivers/gpu/drm/amd/include/asic_reg/thm/thm_11_0_2_offset.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/include/asic_reg/thm/thm_11_0_2_offset.h b/drivers/gpu/drm/amd/include/asic_reg/thm/thm_11_0_2_offset.h
+index a9eb57a53e59..a485526f3a51 100644
+--- a/drivers/gpu/drm/amd/include/asic_reg/thm/thm_11_0_2_offset.h
++++ b/drivers/gpu/drm/amd/include/asic_reg/thm/thm_11_0_2_offset.h
+@@ -46,4 +46,7 @@
+ #define mmTHM_TCON_THERM_TRIP 0x0002
+ #define mmTHM_TCON_THERM_TRIP_BASE_IDX 0
+
++#define mmTHM_BACO_CNTL 0x0081
++#define mmTHM_BACO_CNTL_BASE_IDX 0
++
+ #endif
+--
+2.17.1
+