]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amdkfd: introduce new helper kfd_lookup_process_by_id
authorZhu Lingshan <lingshan.zhu@amd.com>
Thu, 21 Aug 2025 06:41:31 +0000 (14:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:43 +0000 (13:56 -0500)
commit07506945e138c191e913aba86030111a93a5b119
treefbde1b175e338bed87f9d86e4c1dee81de49e316
parent2a667e26fa87b45fe4d89ed0c6ffd82c94c0a8a5
amdkfd: introduce new helper kfd_lookup_process_by_id

This commit introduces a new helper function
kfd_lookup_process_by_id which can find a
kfd process that identified by its context id from
the kfd process table

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/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c