[PATCH 29/29] drm/amdkfd: bump kfd ioctl minor version for debug api availability
Felix Kuehling
felix.kuehling at amd.com
Thu Dec 1 00:00:46 UTC 2022
On 2022-10-31 12:23, Jonathan Kim wrote:
> Bump the minor version to declare debugging capability is now
> available.
>
> Signed-off-by: Jonathan Kim <jonathan.kim at amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1 -
> include/uapi/linux/kfd_ioctl.h | 3 ++-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> index 115a80686f7a..2f7d8b230527 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> @@ -2891,7 +2891,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);
> diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h
> index bedf1b823f57..fe5acee2684d 100644
> --- a/include/uapi/linux/kfd_ioctl.h
> +++ b/include/uapi/linux/kfd_ioctl.h
> @@ -37,9 +37,10 @@
> * - 1.9 - Add available memory ioctl
> * - 1.10 - Add SMI profiler event log
> * - 1.11 - Add unified memory for ctx save/restore area
> + * - 1.12 - Add debugger API
> */
> #define KFD_IOCTL_MAJOR_VERSION 1
> -#define KFD_IOCTL_MINOR_VERSION 11
> +#define KFD_IOCTL_MINOR_VERSION 12
>
> struct kfd_ioctl_get_version_args {
> __u32 major_version; /* from KFD */
More information about the amd-gfx
mailing list