aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1296-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1296-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1296-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1296-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1296-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch
new file mode 100644
index 00000000..ae6b91df
--- /dev/null
+++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1296-drm-amdkfd-Deleted-unused-tlb_invalidation_lock.patch
@@ -0,0 +1,41 @@
+From 28c65e1ea916c7e09b4caaf329e288cafef16058 Mon Sep 17 00:00:00 2001
+From: ozeng <oak.zeng@amd.com>
+Date: Tue, 13 Jun 2017 09:38:51 -0500
+Subject: [PATCH 1296/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 ad84996..47734de 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
+