drm/amdkfd: bump kfd ioctl minor version for debug api availability
authorJonathan Kim <jonathan.kim@amd.com>
Tue, 10 May 2022 16:51:26 +0000 (12:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:37:03 +0000 (12:37 -0400)
Bump the minor version to declare debugging capability is now
available.

Signed-off-by: Jonathan Kim <jonathan.kim@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
include/uapi/linux/kfd_ioctl.h

index f54ff5c..cce2abe 100644 (file)
@@ -2984,7 +2984,6 @@ static int kfd_ioctl_set_debug_trap(struct file *filep, struct kfd_process *p, v
                if (!r)
                        target->exception_enable_mask = args->enable.exception_mask;
 
-               pr_warn("Debug functions limited\n");
                break;
        case KFD_IOC_DBG_TRAP_DISABLE:
                r = kfd_dbg_trap_disable(target);
index 32913d6..1781e76 100644 (file)
  * - 1.10 - Add SMI profiler event log
  * - 1.11 - Add unified memory for ctx save/restore area
  * - 1.12 - Add DMA buf export ioctl
+ * - 1.13 - Add debugger API
  */
 #define KFD_IOCTL_MAJOR_VERSION 1
-#define KFD_IOCTL_MINOR_VERSION 12
+#define KFD_IOCTL_MINOR_VERSION 13
 
 struct kfd_ioctl_get_version_args {
        __u32 major_version;    /* from KFD */