]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: always register an MMU notifier for userptr
authorChristian König <christian.koenig@amd.com>
Wed, 9 Nov 2022 11:14:44 +0000 (12:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Dec 2022 16:40:06 +0000 (17:40 +0100)
commitfeb97cf45e77ec7dfec56a3e1f0a1c8763f286ff
treebcf14b6008c7521b1c964a442d16581ce2b1783c
parent596b7d55d7c65984cb5e8f4b97b899e1df22a2d5
drm/amdgpu: always register an MMU notifier for userptr

commit b39df63b16b64a3af42695acb9bc567aad144776 upstream.

Since switching to HMM we always need that because we no longer grab
references to the pages.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c