Skip to content

Commit 8b5da5a

Browse files
rajbharalexdeucher
authored andcommitted
Revert "drm/amdgpu: Don't inherit GEM object VMAs in child process"
This reverts commit fbcdbfd. Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Rajneesh Bhardwaj <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 83293f7 commit 8b5da5a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,6 @@ static int amdgpu_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_str
264264
!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)))
265265
vma->vm_flags &= ~VM_MAYWRITE;
266266

267-
if (bo->kfd_bo)
268-
vma->vm_flags |= VM_DONTCOPY;
269-
270267
return drm_gem_ttm_mmap(obj, vma);
271268
}
272269

0 commit comments

Comments
 (0)