diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/1075-drm-amdgpu-remove-owner-cleanup-v2.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/1075-drm-amdgpu-remove-owner-cleanup-v2.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/common/recipes-kernel/linux/files/1075-drm-amdgpu-remove-owner-cleanup-v2.patch b/common/recipes-kernel/linux/files/1075-drm-amdgpu-remove-owner-cleanup-v2.patch deleted file mode 100644 index 8dedd4f8..00000000 --- a/common/recipes-kernel/linux/files/1075-drm-amdgpu-remove-owner-cleanup-v2.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 7a2f6b5c821fb681186d162676b1a3241285e464 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Wed, 4 May 2016 10:33:11 +0200 -Subject: [PATCH 1075/1110] drm/amdgpu: remove owner cleanup v2 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The client ID is now unique, so no need to resert the owner fields any more. - -v2: remove unused variables as well - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Chunming Zhou <david1.zhou@amd.com> (v1) -Signed-off-by: Kalyan Alle <kalyan.alle@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 12 ------------ - 1 file changed, 12 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -index b6df43d..ab0df1a 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -@@ -1461,7 +1461,6 @@ error_free_sched_entity: - void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm) - { - struct amdgpu_bo_va_mapping *mapping, *tmp; -- struct amdgpu_vm_id *id, *id_tmp; - int i; - - amd_sched_entity_fini(vm->entity.sched, &vm->entity); -@@ -1486,17 +1485,6 @@ void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm) - amdgpu_bo_unref(&vm->page_directory); - fence_put(vm->page_directory_fence); - -- mutex_lock(&adev->vm_manager.lock); -- list_for_each_entry_safe(id, id_tmp, &adev->vm_manager.ids_lru, -- list) { -- if (!id) -- continue; -- if (atomic_long_read(&id->owner) == vm->client_id) { -- atomic_long_set(&id->owner, 0); -- id->pd_gpu_addr = 0; -- } -- } -- mutex_unlock(&adev->vm_manager.lock); - } - - /** --- -2.7.4 - |