Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1063 int idr_handle; in kfd_ioctl_alloc_memory_of_gpu() local
1155 idr_handle = kfd_process_device_create_obj_handle(pdd, mem); in kfd_ioctl_alloc_memory_of_gpu()
1156 if (idr_handle < 0) { in kfd_ioctl_alloc_memory_of_gpu()
1172 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_alloc_memory_of_gpu()
1564 int idr_handle; in kfd_ioctl_import_dmabuf() local
1593 idr_handle = kfd_process_device_create_obj_handle(pdd, mem); in kfd_ioctl_import_dmabuf()
1594 if (idr_handle < 0) { in kfd_ioctl_import_dmabuf()
1602 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_import_dmabuf()
1933 bo_priv->idr_handle = id; in criu_checkpoint_bos()
1977 bo_priv->idr_handle); in criu_checkpoint_bos()
[all …]
Dkfd_priv.h709 #define MAKE_HANDLE(gpu_id, idr_handle) \ argument
710 (((uint64_t)(gpu_id) << 32) + idr_handle)
1196 uint32_t idr_handle; member