aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2997-drm-amdgpu-exposing-fica-registers-to-df-offsets.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2997-drm-amdgpu-exposing-fica-registers-to-df-offsets.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2997-drm-amdgpu-exposing-fica-registers-to-df-offsets.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2997-drm-amdgpu-exposing-fica-registers-to-df-offsets.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2997-drm-amdgpu-exposing-fica-registers-to-df-offsets.patch
new file mode 100644
index 00000000..3ff2b3e0
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2997-drm-amdgpu-exposing-fica-registers-to-df-offsets.patch
@@ -0,0 +1,31 @@
+From b94a5dbdea44dc80f67c683f3ac7a6dc8303c127 Mon Sep 17 00:00:00 2001
+From: Jonathan Kim <jonathan.kim@amd.com>
+Date: Thu, 11 Jul 2019 12:19:44 -0400
+Subject: [PATCH 2997/4256] drm/amdgpu: exposing fica registers to df offsets
+
+exposing fica registers to poll df pie data for xgmi error counters for
+vega20.
+
+Change-Id: Idc0d24f3bc795503491733d9ee4dff48c2fe0bef
+Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
+Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com>
+---
+ drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_offset.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_offset.h b/drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_offset.h
+index 6efcaa93e17b..c2bd25589e84 100644
+--- a/drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_offset.h
++++ b/drivers/gpu/drm/amd/include/asic_reg/df/df_3_6_offset.h
+@@ -48,4 +48,8 @@
+ #define smnPerfMonCtrLo3 0x01d478UL
+ #define smnPerfMonCtrHi3 0x01d47cUL
+
++#define smnDF_PIE_AON_FabricIndirectConfigAccessAddress3 0x1d05cUL
++#define smnDF_PIE_AON_FabricIndirectConfigAccessDataLo3 0x1d098UL
++#define smnDF_PIE_AON_FabricIndirectConfigAccessDataHi3 0x1d09cUL
++
+ #endif
+--
+2.17.1
+