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 <Felix.Kuehling@amd.com> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 83293f7 commit 8b5da5a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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)