aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0682-drm-amdgpu-increase-the-size-of-HQD-EOP-buffers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0682-drm-amdgpu-increase-the-size-of-HQD-EOP-buffers.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0682-drm-amdgpu-increase-the-size-of-HQD-EOP-buffers.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0682-drm-amdgpu-increase-the-size-of-HQD-EOP-buffers.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0682-drm-amdgpu-increase-the-size-of-HQD-EOP-buffers.patch
new file mode 100644
index 00000000..a993d1ce
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0682-drm-amdgpu-increase-the-size-of-HQD-EOP-buffers.patch
@@ -0,0 +1,45 @@
+From 7eea46570761c76a8a5f8762900f13f78fbc9642 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com>
+Date: Fri, 5 Oct 2018 16:43:44 -0400
+Subject: [PATCH 0682/2940] drm/amdgpu: increase the size of HQD EOP buffers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Marek Olšák <marek.olsak@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
+ drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+index bebf60d0c561..78f1eb2024ce 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+@@ -54,7 +54,7 @@
+ #include "ivsrcid/ivsrcid_vislands30.h"
+
+ #define GFX8_NUM_GFX_RINGS 1
+-#define GFX8_MEC_HPD_SIZE 2048
++#define GFX8_MEC_HPD_SIZE 4096
+
+ #define TOPAZ_GB_ADDR_CONFIG_GOLDEN 0x22010001
+ #define CARRIZO_GB_ADDR_CONFIG_GOLDEN 0x22010001
+diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+index 0112cb1d18e7..a19c93d93789 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+@@ -41,7 +41,7 @@
+ #include "ivsrcid/gfx/irqsrcs_gfx_9_0.h"
+
+ #define GFX9_NUM_GFX_RINGS 1
+-#define GFX9_MEC_HPD_SIZE 2048
++#define GFX9_MEC_HPD_SIZE 4096
+ #define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L
+ #define RLC_SAVE_RESTORE_ADDR_STARTING_OFFSET 0x00000000L
+
+--
+2.17.1
+