diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0253-drm-amdgpu-fix-amdgpu_vm_bo_map.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0253-drm-amdgpu-fix-amdgpu_vm_bo_map.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/files/0253-drm-amdgpu-fix-amdgpu_vm_bo_map.patch b/common/recipes-kernel/linux/files/0253-drm-amdgpu-fix-amdgpu_vm_bo_map.patch deleted file mode 100644 index e9cce08e..00000000 --- a/common/recipes-kernel/linux/files/0253-drm-amdgpu-fix-amdgpu_vm_bo_map.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 7e9fca0baa3b3400ccb2b2a8a17822f7b04ea282 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Fri, 5 Jun 2015 10:06:04 +0200 -Subject: [PATCH 0253/1050] drm/amdgpu: fix amdgpu_vm_bo_map -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -We need to reset the bo_va address, otherwise new mappings -wouldn't be updated in the page table. - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -index fd28e89..33696ee 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c -@@ -1002,6 +1002,8 @@ int amdgpu_vm_bo_map(struct amdgpu_device *adev, - list_add(&mapping->list, &bo_va->mappings); - interval_tree_insert(&mapping->it, &vm->va); - -+ bo_va->addr = 0; -+ - /* Make sure the page tables are allocated */ - saddr >>= amdgpu_vm_block_size; - eaddr >>= amdgpu_vm_block_size; --- -1.9.1 - |