aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0328-drm-amdgpu-Don-t-call-interval_tree_remove-in-amdgpu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0328-drm-amdgpu-Don-t-call-interval_tree_remove-in-amdgpu.patch')
-rw-r--r--common/recipes-kernel/linux/files/0328-drm-amdgpu-Don-t-call-interval_tree_remove-in-amdgpu.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/common/recipes-kernel/linux/files/0328-drm-amdgpu-Don-t-call-interval_tree_remove-in-amdgpu.patch b/common/recipes-kernel/linux/files/0328-drm-amdgpu-Don-t-call-interval_tree_remove-in-amdgpu.patch
deleted file mode 100644
index 78350ec9..00000000
--- a/common/recipes-kernel/linux/files/0328-drm-amdgpu-Don-t-call-interval_tree_remove-in-amdgpu.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From b3f48dbf2654bf125ea1cfd53312a5533e8c0c95 Mon Sep 17 00:00:00 2001
-From: Felix Kuehling <Felix.Kuehling@amd.com>
-Date: Tue, 16 Feb 2016 15:31:30 -0500
-Subject: [PATCH 0328/1110] drm/amdgpu: Don't call interval_tree_remove in
- amdgpu_mn_destroy
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-rbtree_postorder_for_each_entry_safe can skip over some entries if
-the tree is rebalanced in interval_tree_remove. interval_tree_remove
-is also redundant when the tree is just about to be freed.
-
-Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
-index d12dff9..d7ec9bd 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
-@@ -76,7 +76,6 @@ static void amdgpu_mn_destroy(struct work_struct *work)
- hash_del(&rmn->node);
- rbtree_postorder_for_each_entry_safe(node, next_node, &rmn->objects,
- it.rb) {
-- interval_tree_remove(&node->it, &rmn->objects);
- list_for_each_entry_safe(bo, next_bo, &node->bos, mn_list) {
- bo->mn = NULL;
- list_del_init(&bo->mn_list);
---
-2.7.4
-