aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0911-drm-amdgpu-change-default-sched-jobs-to-32.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0911-drm-amdgpu-change-default-sched-jobs-to-32.patch')
-rw-r--r--common/recipes-kernel/linux/files/0911-drm-amdgpu-change-default-sched-jobs-to-32.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0911-drm-amdgpu-change-default-sched-jobs-to-32.patch b/common/recipes-kernel/linux/files/0911-drm-amdgpu-change-default-sched-jobs-to-32.patch
new file mode 100644
index 00000000..0991ecd4
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0911-drm-amdgpu-change-default-sched-jobs-to-32.patch
@@ -0,0 +1,40 @@
+From 627a1c437a8ae8e26e6cace92e3027dc1cdc48d0 Mon Sep 17 00:00:00 2001
+From: Chunming Zhou <David1.Zhou@amd.com>
+Date: Thu, 10 Dec 2015 15:46:50 +0800
+Subject: [PATCH 0911/1050] drm/amdgpu: change default sched jobs to 32
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: Iddaf86d7f20978282fa5aad96f320152e7ebd65f
+Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+index 12533c0..937c572 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+@@ -80,7 +80,7 @@ int amdgpu_vm_debug = 0;
+ int amdgpu_exp_hw_support = 0;
+ int amdgpu_dal = 1;
+ int amdgpu_enable_scheduler = 1;
+-int amdgpu_sched_jobs = 16;
++int amdgpu_sched_jobs = 32;
+ int amdgpu_sched_hw_submission = 2;
+ int amdgpu_enable_semaphores = 0;
+ int amdgpu_powerplay = -1;
+@@ -160,7 +160,7 @@ module_param_named(dal, amdgpu_dal, int, 0444);
+ MODULE_PARM_DESC(enable_scheduler, "enable SW GPU scheduler (1 = enable, 0 = disable ((default))");
+ module_param_named(enable_scheduler, amdgpu_enable_scheduler, int, 0444);
+
+-MODULE_PARM_DESC(sched_jobs, "the max number of jobs supported in the sw queue (default 16)");
++MODULE_PARM_DESC(sched_jobs, "the max number of jobs supported in the sw queue (default 32)");
+ module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444);
+
+ MODULE_PARM_DESC(sched_hw_submission, "the max number of HW submissions (default 2)");
+--
+1.9.1
+