aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2200-drm-amdkfd-Cleanup-init_scheduler-in-accord-with-kfd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2200-drm-amdkfd-Cleanup-init_scheduler-in-accord-with-kfd.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2200-drm-amdkfd-Cleanup-init_scheduler-in-accord-with-kfd.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2200-drm-amdkfd-Cleanup-init_scheduler-in-accord-with-kfd.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2200-drm-amdkfd-Cleanup-init_scheduler-in-accord-with-kfd.patch
new file mode 100644
index 00000000..0c5bc790
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2200-drm-amdkfd-Cleanup-init_scheduler-in-accord-with-kfd.patch
@@ -0,0 +1,38 @@
+From f889903511ee88635d945a8f815bf2b85e4da3f6 Mon Sep 17 00:00:00 2001
+From: "Le.Ma" <Le.Ma@amd.com>
+Date: Mon, 20 Nov 2017 15:11:48 +0800
+Subject: [PATCH 2200/4131] drm/amdkfd: Cleanup init_scheduler in accord with
+ kfd branch
+
+Change-Id: I03014083d857b19e4d318188222db23923dd39a5
+Signed-off-by: Le.Ma <Le.Ma@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+index e263378..f509850 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+@@ -784,10 +784,6 @@ static void init_interrupts(struct device_queue_manager *dqm)
+ if (is_pipe_enabled(dqm, 0, i))
+ dqm->dev->kfd2kgd->init_interrupts(dqm->dev->kgd, i);
+ }
+-static int init_scheduler(struct device_queue_manager *dqm)
+-{
+- return 0;
+-}
+
+ static int initialize_nocpsch(struct device_queue_manager *dqm)
+ {
+@@ -817,7 +813,6 @@ static int initialize_nocpsch(struct device_queue_manager *dqm)
+ dqm->vmid_bitmap = (1 << dqm->dev->vm_info.vmid_num_kfd) - 1;
+ dqm->sdma_bitmap = (1 << get_num_sdma_queues(dqm)) - 1;
+
+- init_scheduler(dqm);
+ return 0;
+ }
+
+--
+2.7.4
+