aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1173-drm-amdkfd-increase-IH-num-entries-to-8192.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1173-drm-amdkfd-increase-IH-num-entries-to-8192.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1173-drm-amdkfd-increase-IH-num-entries-to-8192.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1173-drm-amdkfd-increase-IH-num-entries-to-8192.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1173-drm-amdkfd-increase-IH-num-entries-to-8192.patch
new file mode 100644
index 00000000..5d8f2b8b
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1173-drm-amdkfd-increase-IH-num-entries-to-8192.patch
@@ -0,0 +1,30 @@
+From afb7f908099c810f629a09b26eb71c3a50f9f2d4 Mon Sep 17 00:00:00 2001
+From: Andres Rodriguez <andres.rodriguez@amd.com>
+Date: Wed, 17 Aug 2016 17:43:44 -0400
+Subject: [PATCH 1173/4131] drm/amdkfd: increase IH num entries to 8192
+
+A larger buffer will let us accomodate applications with a large amount
+of semi-simultaneous event signals.
+
+Change-Id: I9e84a4a0df5268b9b4d474ff663361b6c9223e47
+Signed-off-by: Andres Rodriguez <andres.rodriguez@amd.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 6dac60d..847aeca 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
+