]> git.baikalelectronics.ru Git - kernel.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>
Thu, 8 Dec 2022 10:23:01 +0000 (11:23 +0100)
commita0e1eb2fed3257d2de2eda50d28346d87ab5eaba
treeabe3574e396a8f57664761a74942119c3b24ef78
parent6c0565089676370bdb69c66405a756ca9eeb99bd
drm/amdgpu: always register an MMU notifier for userptr

commit e574c2cd8a6de5804b14b0d7c5fb0e24e39bd4a1 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