]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
amdkfd: Bump ABI to indicate presence of Trap handler support for expert scheduling
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 5 Dec 2025 14:04:41 +0000 (08:04 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 19:23:21 +0000 (14:23 -0500)
commit 0f0c8a6983db ("drm/amdkfd: Trap handler support for expert
scheduling mode") introduced support for a trap handler when expert
scheduling mode. However userspace needs to know whether or not a trap
handler support is present.

Bump the KFD IOCTL API so that userspace can key off this to decide.

Suggested-by: Stella Laurenzo <stella.laurenzo@amd.com>
Fixes: 423888879412 ("drm/amdkfd: Trap handler support for expert scheduling mode")
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/linux/kfd_ioctl.h

index 84aa24c02715abd593d9c1f2992c0a9ec8eebd84..4d0c1a53f9d517f4bb4f199d8919488aad430383 100644 (file)
  * - 1.17 - Add SDMA queue creation with target SDMA engine ID
  * - 1.18 - Rename pad in set_memory_policy_args to misc_process_flag
  * - 1.19 - Add a new ioctl to craete secondary kfd processes
+ * - 1.20 - Trap handler support for expert scheduling mode available
  */
 #define KFD_IOCTL_MAJOR_VERSION 1
-#define KFD_IOCTL_MINOR_VERSION 19
+#define KFD_IOCTL_MINOR_VERSION 20
 
 struct kfd_ioctl_get_version_args {
        __u32 major_version;    /* from KFD */