[PATCH v5 2/2] drm/amdkfd: Bump KFD ioctl version

Chen, Xiaogang xiaogang.chen at amd.com
Mon Jan 8 17:03:40 UTC 2024


Reviewed-by: Xiaogang Chen<Xiaogang.Chen at amd.com>

On 1/3/2024 5:15 PM, Felix Kuehling wrote:
> This is not strictly a change in the IOCTL API. This version bump is meant
> to indicate to user mode the presence of a number of changes and fixes
> that enable the management of VA mappings in compute VMs using the GEM_VA
> ioctl for DMABufs exported from KFD.
>
> Signed-off-by: Felix Kuehling <felix.kuehling at amd.com>
> ---
>   include/uapi/linux/kfd_ioctl.h | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h
> index f0ed68974c54..9ce46edc62a5 100644
> --- a/include/uapi/linux/kfd_ioctl.h
> +++ b/include/uapi/linux/kfd_ioctl.h
> @@ -40,9 +40,10 @@
>    * - 1.12 - Add DMA buf export ioctl
>    * - 1.13 - Add debugger API
>    * - 1.14 - Update kfd_event_data
> + * - 1.15 - Enable managing mappings in compute VMs with GEM_VA ioctl
>    */
>   #define KFD_IOCTL_MAJOR_VERSION 1
> -#define KFD_IOCTL_MINOR_VERSION 14
> +#define KFD_IOCTL_MINOR_VERSION 15
>   
>   struct kfd_ioctl_get_version_args {
>   	__u32 major_version;	/* from KFD */


More information about the amd-gfx mailing list