Home
last modified time | relevance | path

Searched refs:idr_handle (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1275 int idr_handle; in kfd_ioctl_alloc_memory_of_gpu() local
1328 idr_handle = kfd_process_device_create_obj_handle(pdd, mem); in kfd_ioctl_alloc_memory_of_gpu()
1329 if (idr_handle < 0) { in kfd_ioctl_alloc_memory_of_gpu()
1340 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_alloc_memory_of_gpu()
1704 int idr_handle; in kfd_ioctl_import_dmabuf() local
1732 idr_handle = kfd_process_device_create_obj_handle(pdd, mem); in kfd_ioctl_import_dmabuf()
1733 if (idr_handle < 0) { in kfd_ioctl_import_dmabuf()
1741 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_import_dmabuf()
Dkfd_priv.h628 #define MAKE_HANDLE(gpu_id, idr_handle) \ argument
629 (((uint64_t)(gpu_id) << 32) + idr_handle)