]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amdkfd: process pointer of a HIQ should be NULL
authorZhu Lingshan <lingshan.zhu@amd.com>
Mon, 4 Aug 2025 07:36:31 +0000 (15:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:42 +0000 (13:56 -0500)
commitd59e9d2d556ad7ce228200a2e804b57bb77b6c47
tree48d49d090578a5e4810063a73039dd849379b997
parent018fd6d7d92d704709e8dfe497fe3aac1566e90f
amdkfd: process pointer of a HIQ should be NULL

In kq_initialize, queue->process of a HIQ should
be NULL as initialized, because it does not belong
to any kfd_process.

This commit decommisions the function kfd_get_process() because
it can not locate a specific kfd_process among multiple
contexts and not any code path calls it after this commit.

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