Commit 7a5fb05b authored by Mario Limonciello's avatar Mario Limonciello Committed by Alex Deucher
Browse files

amdkfd: Bump ABI to indicate presence of Trap handler support for expert scheduling



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: default avatarStella Laurenzo <stella.laurenzo@amd.com>
Fixes: 42388887 ("drm/amdkfd: Trap handler support for expert scheduling mode")
Reviewed-by: default avatarKent Russell <kent.russell@amd.com>
Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 67b032da
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,9 +45,10 @@
 * - 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 */