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:
Oded Gabbay
2014-12-29 15:37:42 +02:00
parent f231b71743
commit 22136281cb
9 ha cambiato i file con 28 aggiunte e 15 eliminazioni
+1 -1
Vedi File
@@ -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;