diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0227-drm-amdgpu-fix-bug-of-vm_bo_map-v2.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0227-drm-amdgpu-fix-bug-of-vm_bo_map-v2.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/common/recipes-kernel/linux/files/0227-drm-amdgpu-fix-bug-of-vm_bo_map-v2.patch b/common/recipes-kernel/linux/files/0227-drm-amdgpu-fix-bug-of-vm_bo_map-v2.patch deleted file mode 100644 index 70a88e47..00000000 --- a/common/recipes-kernel/linux/files/0227-drm-amdgpu-fix-bug-of-vm_bo_map-v2.patch +++ /dev/null @@ -1,35 +0,0 @@ -From ca95261325cfdff85eb2c9107198c714e266cb5b Mon Sep 17 00:00:00 2001 -From: "monk.liu" <monk.liu@amd.com> -Date: Mon, 25 May 2015 14:44:05 +0800 -Subject: [PATCH 0227/1050] drm/amdgpu: fix bug of vm_bo_map (v2) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -call reservation_object_reserve_shared before amdgpu_bo_fence - -Signed-off-by: monk.liu <monk.liu@amd.com> -Reviewed-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Jammy Zhou <jammy.zhou@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -index b25e533..cc6dca2 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -@@ -315,6 +315,10 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev, - if (r) - return r; - -+ r = reservation_object_reserve_shared(bo->tbo.resv); -+ if (r) -+ return r; -+ - r = ttm_bo_validate(&bo->tbo, &bo->placement, true, false); - if (r) - goto error_unreserve; --- -1.9.1 - |