]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Use mmu_notifier_get
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 12 Feb 2021 06:36:47 +0000 (01:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2021 23:03:07 +0000 (18:03 -0500)
commit1b222a60a6b8c4c02cfe40eb464be5315cc4eb00
tree3f58b3532f8157f0bf90759b70c4fc238d781270
parentc4717a6eb5a3c898f1b53a596fb3433584da78c8
drm/amdkfd: Use mmu_notifier_get

We use mmu_notifier_put to free the MMU notifier. That needs to be
paired with mmu_notifier_get to work correctly. Othewrise the next patch
would cause a kernel oops.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <philip.yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_process.c