]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amdkfd: introduce new ioctl AMDKFD_IOC_CREATE_PROCESS
authorZhu Lingshan <lingshan.zhu@amd.com>
Thu, 21 Aug 2025 09:22:44 +0000 (17:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 19:19:34 +0000 (14:19 -0500)
commitcc6b66d661fda4fb94c0099dd92b83f8de5c1bf4
treeb76f901a08d2254943f85dfbc839b406fbe84b70
parente3491fa3f3c94d47e7b82604ca7b9925987f1683
amdkfd: introduce new ioctl AMDKFD_IOC_CREATE_PROCESS

This commit implemetns a new ioctl AMDKFD_IOC_CREATE_PROCESS
that creates a new secondary kfd_progress on the FD.

To keep backward compatibility, userspace programs need to invoke
this ioctl explicitly on a FD to create a secondary
kfd_process which replacing its primary kfd_process.

This commit bumps ioctl minor version.

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_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c
include/uapi/linux/kfd_ioctl.h