libhsakmt: Update contiguous memory support ioctl version

KFD ioctl version is 1.16 on upstream for contiguous memory support.

Remove pc_sampling version, should be added after pc_sample upstream.

Change-Id: I6e6c3340bc8e371d68dd7741b02578be2fdef801
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Chris Freehill <cfreehil@amd.com>


[ROCm/ROCR-Runtime commit: 6e6f445f75]
Tá an tiomantas seo le fáil i:
Philip Yang údaraithe agus Chris Freehill tiomanta 2024-06-24 14:26:21 -05:00
1 tuismitheoir 76800311df
tiomantas 61ea4c66e1
2 comhad athraithe
+2 -3

Níor tháinig aon chomhaid le do chuardach

@@ -42,10 +42,9 @@
* - 1.14 - Update kfd_event_data
* - 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 17
#define KFD_IOCTL_MINOR_VERSION 16
struct kfd_ioctl_get_version_args {
__u32 major_version; /* from KFD */
+1 -1
Féach ar an gComhad
@@ -127,7 +127,7 @@ HSAKMT_STATUS HSAKMTAPI hsaKmtAllocMemoryAlign(HSAuint32 PreferredNode,
CHECK_KFD_OPEN();
if (MemFlags.ui32.Contiguous)
CHECK_KFD_MINOR_VERSION(17);
CHECK_KFD_MINOR_VERSION(16);
pr_debug("[%s] node %d\n", __func__, PreferredNode);