aboutsummaryrefslogtreecommitdiffstats
path: root/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4596-drm-amdgpu-fix-clear_all-and-replace-handling-in-the.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4596-drm-amdgpu-fix-clear_all-and-replace-handling-in-the.patch')
-rw-r--r--meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4596-drm-amdgpu-fix-clear_all-and-replace-handling-in-the.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4596-drm-amdgpu-fix-clear_all-and-replace-handling-in-the.patch b/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4596-drm-amdgpu-fix-clear_all-and-replace-handling-in-the.patch
deleted file mode 100644
index 06fb3aab..00000000
--- a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4596-drm-amdgpu-fix-clear_all-and-replace-handling-in-the.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 3c8a31771e69f89e368a8cb13fe9c1bb4c4c627e Mon Sep 17 00:00:00 2001
-From: Junwei Zhang <Jerry.Zhang@amd.com>
-Date: Tue, 5 Jun 2018 17:31:51 +0800
-Subject: [PATCH 4596/5725] drm/amdgpu: fix clear_all and replace handling in
- the VM (v2)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-v2: assign bo_va as well
-
-We need to put the lose ends on the invalid list because it is possible
-that we need to split up huge pages for them.
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> (v2)
-Reviewed-by: David Zhou <david1.zhou@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-index 1fcc586..4889137 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-@@ -2153,7 +2153,8 @@ int amdgpu_vm_bo_clear_mappings(struct amdgpu_device *adev,
- before->last = saddr - 1;
- before->offset = tmp->offset;
- before->flags = tmp->flags;
-- list_add(&before->list, &tmp->list);
-+ before->bo_va = tmp->bo_va;
-+ list_add(&before->list, &tmp->bo_va->invalids);
- }
-
- /* Remember mapping split at the end */
-@@ -2163,7 +2164,8 @@ int amdgpu_vm_bo_clear_mappings(struct amdgpu_device *adev,
- after->offset = tmp->offset;
- after->offset += after->start - tmp->start;
- after->flags = tmp->flags;
-- list_add(&after->list, &tmp->list);
-+ after->bo_va = tmp->bo_va;
-+ list_add(&after->list, &tmp->bo_va->invalids);
- }
-
- list_del(&tmp->list);
---
-2.7.4
-