Move from direct call to kfd_ioctl to wrapping kmtIoctl
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
[ROCm/ROCR-Runtime commit: 94c0329fc4]
This commit is contained in:
@@ -39,7 +39,7 @@ hsaKmtGetVersion(
|
||||
struct kfd_ioctl_get_version_args args;
|
||||
memset(&args, 0, sizeof(args));
|
||||
|
||||
if (kfd_ioctl(AMDKFD_IOC_GET_VERSION, &args) == -1)
|
||||
if (kmtIoctl(kfd_fd, AMDKFD_IOC_GET_VERSION, &args) == -1)
|
||||
return HSAKMT_STATUS_ERROR;
|
||||
|
||||
VersionInfo->KernelInterfaceMajorVersion = args.major_version;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user