aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1546-drm-amdgpu-Remove-references-to-entry.robj.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1546-drm-amdgpu-Remove-references-to-entry.robj.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1546-drm-amdgpu-Remove-references-to-entry.robj.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1546-drm-amdgpu-Remove-references-to-entry.robj.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1546-drm-amdgpu-Remove-references-to-entry.robj.patch
new file mode 100644
index 00000000..317b8d9b
--- /dev/null
+++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1546-drm-amdgpu-Remove-references-to-entry.robj.patch
@@ -0,0 +1,27 @@
+From 58295a0534e1922f2bebcbb47fee5ffa2e7d60d4 Mon Sep 17 00:00:00 2001
+From: Kent Russell <kent.russell@amd.com>
+Date: Thu, 19 Jan 2017 08:33:49 -0500
+Subject: [PATCH 1546/4131] drm/amdgpu: Remove references to entry.robj
+
+Change-Id: I8c0b5c3e7eedd4bd40c8eca7c1320330a1760722
+Signed-off-by: Kent Russell <kent.russell@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+index 91eb8d7..ddb9cab 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+@@ -300,7 +300,7 @@ static int validate_pt_pd_bos(struct amdgpu_vm *vm)
+
+ /* PTs share same reservation object as PD. So only fence PD */
+ for (i = 0; i <= vm->max_pde_used; ++i) {
+- bo = vm->page_tables[i].entry.robj;
++ bo = vm->page_tables[i].bo;
+
+ if (!bo)
+ continue;
+--
+2.7.4
+