From 259af9e854fa315d624044eab92ad1b9d37ce004 Mon Sep 17 00:00:00 2001 From: James Zhu Date: Mon, 29 Apr 2024 09:01:20 -0400 Subject: [PATCH] libhsakmt: update KFD ioctl minor version Since PC Sampling not upstream yet, so use 1.16 for contiguous VRAM allocation, and 1,17 for pc sampling. Change-Id: Ib5d22e8f386ce7fe3f7111485b9632b61227e539 Signed-off-by: James Zhu Signed-off-by: Chris Freehill [ROCm/ROCR-Runtime commit: 5786dbbb7695c2785b7bf39a4b1422bf588b760e] --- .../rocr-runtime/libhsakmt/include/hsakmt/linux/kfd_ioctl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/libhsakmt/include/hsakmt/linux/kfd_ioctl.h b/projects/rocr-runtime/libhsakmt/include/hsakmt/linux/kfd_ioctl.h index fe0a09a34f..eba057917d 100644 --- a/projects/rocr-runtime/libhsakmt/include/hsakmt/linux/kfd_ioctl.h +++ b/projects/rocr-runtime/libhsakmt/include/hsakmt/linux/kfd_ioctl.h @@ -40,10 +40,12 @@ * - 1.12 - Add DMA buf export ioctl * - 1.13 - Add debugger API * - 1.14 - Update kfd_event_data - * - 1.16 - Add PC Sampling ioctl + * - 1.15 - Enable managing mappings in compute VMs with GEM_VA ioctl + * - 1.16 - Add contiguous VRAM allocation flag + * - 1.17 - Add PC Sampling ioctl */ #define KFD_IOCTL_MAJOR_VERSION 1 -#define KFD_IOCTL_MINOR_VERSION 16 +#define KFD_IOCTL_MINOR_VERSION 17 struct kfd_ioctl_get_version_args { __u32 major_version; /* from KFD */