aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3375-drm-amdkfd-increase-IH-num-entries-to-8192.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3375-drm-amdkfd-increase-IH-num-entries-to-8192.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3375-drm-amdkfd-increase-IH-num-entries-to-8192.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3375-drm-amdkfd-increase-IH-num-entries-to-8192.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3375-drm-amdkfd-increase-IH-num-entries-to-8192.patch
new file mode 100644
index 00000000..e3b1932d
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3375-drm-amdkfd-increase-IH-num-entries-to-8192.patch
@@ -0,0 +1,32 @@
+From b832c910c6667da2902c22399fc086c6fa8462a6 Mon Sep 17 00:00:00 2001
+From: Andres Rodriguez <andres.rodriguez@amd.com>
+Date: Fri, 27 Oct 2017 19:35:32 -0400
+Subject: [PATCH 3375/4131] drm/amdkfd: increase IH num entries to 8192
+
+A larger buffer will let us accommodate applications with a large amount
+of semi-simultaneous event signals.
+
+Signed-off-by: Andres Rodriguez <andres.rodriguez@amd.com>
+Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
+Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
+Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
+index ffbb91a..a147269 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
+@@ -45,7 +45,7 @@
+ #include <linux/kfifo.h>
+ #include "kfd_priv.h"
+
+-#define KFD_IH_NUM_ENTRIES 1024
++#define KFD_IH_NUM_ENTRIES 8192
+
+ static void interrupt_wq(struct work_struct *);
+
+--
+2.7.4
+