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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Nov 2022 21:40:04 +0000 (16:40 -0500)
commitb39df63b16b64a3af42695acb9bc567aad144776
treeaad62ef0004303f933d1b424cc0e8028d5913382
parent85ef1679a190a9740f6b72217cb139a0d9c58706
drm/amdgpu: always register an MMU notifier for userptr

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c