aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/5574-drm-amdgpu-Update-gc_9_0-golden-settings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5574-drm-amdgpu-Update-gc_9_0-golden-settings.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/5574-drm-amdgpu-Update-gc_9_0-golden-settings.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5574-drm-amdgpu-Update-gc_9_0-golden-settings.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5574-drm-amdgpu-Update-gc_9_0-golden-settings.patch
new file mode 100644
index 00000000..722ea47f
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5574-drm-amdgpu-Update-gc_9_0-golden-settings.patch
@@ -0,0 +1,29 @@
+From 490a57f735e369ee81b5fa912abb32457b848841 Mon Sep 17 00:00:00 2001
+From: Feifei Xu <Feifei.Xu@amd.com>
+Date: Tue, 16 Oct 2018 14:54:46 +0800
+Subject: [PATCH 5574/5725] drm/amdgpu: Update gc_9_0 golden settings.
+
+Add mmDB_DEBUG3 settings.
+
+Change-Id: I5797f8973673d94c090f1c4c3a1baf082b8ecba4
+Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
+Reviewed-by: Evan Quan <evan.quan@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+index 60b1e11..7acf02d 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+@@ -97,6 +97,7 @@ MODULE_FIRMWARE("amdgpu/raven2_rlc.bin");
+ static const struct soc15_reg_golden golden_settings_gc_9_0[] =
+ {
+ SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG2, 0xf00fffff, 0x00000400),
++ SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG3, 0x80000000, 0x80000000),
+ SOC15_REG_GOLDEN_VALUE(GC, 0, mmGB_GPU_ID, 0x0000000f, 0x00000000),
+ SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_BINNER_EVENT_CNTL_3, 0x00000003, 0x82400024),
+ SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_ENHANCE, 0x3fffffff, 0x00000001),
+--
+2.7.4
+