aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1395-Change-check_if_add_bo_to_vm-prototype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1395-Change-check_if_add_bo_to_vm-prototype.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1395-Change-check_if_add_bo_to_vm-prototype.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1395-Change-check_if_add_bo_to_vm-prototype.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1395-Change-check_if_add_bo_to_vm-prototype.patch
deleted file mode 100644
index 48d22748..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1395-Change-check_if_add_bo_to_vm-prototype.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 052af922483c3f3f2bf0adb677aa9925b991b7f8 Mon Sep 17 00:00:00 2001
-From: Yong Zhao <yong.zhao@amd.com>
-Date: Wed, 20 Apr 2016 16:36:43 -0400
-Subject: [PATCH 1395/4131] Change check_if_add_bo_to_vm() prototype
-
-Change-Id: Ibe0a8fc96adad31a1ec365ce7805c818bb86a3c0
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
-index 4b94ae3..8ee2cb3 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
-@@ -56,11 +56,11 @@ struct kfd_process_device *amdgpu_amdkfd_gpuvm_get_pdd_from_buffer_object(
- }
-
- static bool check_if_add_bo_to_vm(struct amdgpu_vm *avm,
-- struct list_head *list_bo_va)
-+ struct kgd_mem *mem)
- {
- struct kfd_bo_va_list *entry;
-
-- list_for_each_entry(entry, list_bo_va, bo_list)
-+ list_for_each_entry(entry, &mem->data2.bo_va_list, bo_list)
- if (entry->bo_va->vm == avm)
- return false;
-
-@@ -833,8 +833,7 @@ int amdgpu_amdkfd_gpuvm_map_memory_to_gpu(
- pr_debug("amdgpu: try to map VA 0x%llx domain %d\n",
- mem->data2.va, domain);
-
-- if (check_if_add_bo_to_vm((struct amdgpu_vm *)vm,
-- &mem->data2.bo_va_list)) {
-+ if (check_if_add_bo_to_vm((struct amdgpu_vm *)vm, mem)) {
- pr_debug("amdkfd: add new BO_VA to list 0x%llx\n",
- mem->data2.va);
- ret = add_bo_to_vm(adev, mem, (struct amdgpu_vm *)vm, false);
---
-2.7.4
-