]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amdkfd: fence handler evict and restore a kfd process by its context id
authorZhu Lingshan <lingshan.zhu@amd.com>
Tue, 5 Aug 2025 03:31:32 +0000 (11:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 19:13:25 +0000 (14:13 -0500)
commit18a695030bf91604c168ad352b764f506accf219
tree69abef293d0b70b737ff4fb097bdb439177297f6
parent5701b7a93df7840ddf74399344f849d6292d8419
amdkfd: fence handler evict and restore a kfd process by its context id

In fence enable signaling handler, kfd evicts
and restores the corresponding kfd_process,
this commit helps find the kfd_process by
both its mm and context id.

Signed-off-by: Zhu Lingshan <lingshan.zhu@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
drivers/gpu/drm/amd/amdkfd/kfd_device.c