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]
Este cometimento está contido em:
cometido por
Chris Freehill
ascendente
76800311df
cometimento
61ea4c66e1
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador