aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1716-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1716-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1716-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1716-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1716-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch
deleted file mode 100644
index 12b1503e..00000000
--- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1716-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 6def7580677230f9e30c9ec73e3ae79226de2851 Mon Sep 17 00:00:00 2001
-From: ozeng <oak.zeng@amd.com>
-Date: Tue, 13 Jun 2017 09:38:51 -0500
-Subject: [PATCH 1716/4131] drm/amdkfd: Deleted unused tlb_invalidation_lock
-
-Change-Id: I00d0a9cc78428d60391e878842358df64b0ba30a
-Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
----
- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 --
- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 --
- 2 files changed, 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
-index ec4166c..6249c49 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
-@@ -584,8 +584,6 @@ bool kgd2kfd_device_init(struct kfd_dev *kfd,
-
- kfd->dbgmgr = NULL;
-
-- spin_lock_init(&kfd->tlb_invalidation_lock);
--
- kfd->init_complete = true;
- dev_info(kfd_device, "added device %x:%x\n", kfd->pdev->vendor,
- kfd->pdev->device);
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
-index a0dfdbc..e682a3a 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
-@@ -262,8 +262,6 @@ struct kfd_dev {
- unsigned int gtt_sa_chunk_size;
- unsigned int gtt_sa_num_of_chunks;
-
-- spinlock_t tlb_invalidation_lock;
--
- /* QCM Device instance */
- struct device_queue_manager *dqm;
-
---
-2.7.4
-