drm/amdkfd: drop process ref count when xnack disable
authorAlex Sierra <alex.sierra@amd.com>
Wed, 1 Sep 2021 02:05:02 +0000 (21:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Sep 2021 20:55:09 +0000 (16:55 -0400)
commitd6043581e1d9d0507a8413a302db0e35c8506e0e
tree8dd5614b498853789c8b7b5ce0069297d9a8d73a
parent7884d0e9e30e0ba41a2d0d36de3d605fc314b532
drm/amdkfd: drop process ref count when xnack disable

During svm restore pages interrupt handler, kfd_process ref count was
never dropped when xnack was disabled. Therefore, the object was never
released.

Fixes: 2383f56bbe4a ("drm/amdkfd: page table restore through svm API")
Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Philip Yang <philip.yang@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdkfd/kfd_svm.c