This is a note to let you know that I've just added the patch titled Revert "drm/amdgpu: Don't inherit GEM object VMAs in child process" to the 5.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-drm-amdgpu-don-t-inherit-gem-object-vmas-in-child-process.patch and it can be found in the queue-5.16 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 8b5da5a458c95ad49571a6a6285800bf13409616 Mon Sep 17 00:00:00 2001 From: Rajneesh Bhardwaj <rajneesh.bhardwaj@xxxxxxx> Date: Mon, 10 Jan 2022 12:14:10 -0500 Subject: Revert "drm/amdgpu: Don't inherit GEM object VMAs in child process" From: Rajneesh Bhardwaj <rajneesh.bhardwaj@xxxxxxx> commit 8b5da5a458c95ad49571a6a6285800bf13409616 upstream. This reverts commit fbcdbfde87509d523132b59f661a355c731139d0. Reviewed-by: Felix Kuehling <Felix.Kuehling@xxxxxxx> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -264,9 +264,6 @@ static int amdgpu_gem_object_mmap(struct !(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) vma->vm_flags &= ~VM_MAYWRITE; - if (bo->kfd_bo) - vma->vm_flags |= VM_DONTCOPY; - return drm_gem_ttm_mmap(obj, vma); } Patches currently in stable-queue which might be from rajneesh.bhardwaj@xxxxxxx are queue-5.16/drm-amdgpu-don-t-inherit-gem-object-vmas-in-child-pr.patch queue-5.16/revert-drm-amdgpu-don-t-inherit-gem-object-vmas-in-child-process.patch