]> 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)
commit232485eb78aed96721b8f3a3eb1276ef5dde13ec
tree3f58b3532f8157f0bf90759b70c4fc238d781270
parent89635bf6efb3a0d8e0522a6367bba27db8dc33b0
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