Searched refs:dmabuf_fd (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/dmabuf-heaps/ |
D | dmabuf-heap.c | 106 unsigned int heap_flags, int *dmabuf_fd) in dmabuf_heap_alloc_fdflags() argument 116 if (!dmabuf_fd) in dmabuf_heap_alloc_fdflags() 122 *dmabuf_fd = (int)data.fd; in dmabuf_heap_alloc_fdflags() 127 int *dmabuf_fd) in dmabuf_heap_alloc() argument 130 dmabuf_fd); in dmabuf_heap_alloc() 149 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local 161 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_and_import() 172 dmabuf_fd, in test_alloc_and_import() 181 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_START); in test_alloc_and_import() 184 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_END); in test_alloc_and_import() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 531 int dmabuf_fd; in intel_vgpu_get_dmabuf() local 564 dmabuf_fd = ret; in intel_vgpu_get_dmabuf() 579 dmabuf_fd, in intel_vgpu_get_dmabuf() 585 return dmabuf_fd; in intel_vgpu_get_dmabuf()
|
D | kvmgt.c | 1611 __s32 dmabuf_fd; in intel_vgpu_ioctl() local 1616 dmabuf_fd = intel_gvt_ops->vgpu_get_dmabuf(vgpu, dmabuf_id); in intel_vgpu_ioctl() 1617 return dmabuf_fd; in intel_vgpu_ioctl()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | kfd_ioctl.h | 282 __u32 dmabuf_fd; member 288 __u32 dmabuf_fd; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | kfd_ioctl.h | 439 __u32 dmabuf_fd; /* to KFD */ member 446 __u32 dmabuf_fd; /* to KFD */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1667 r = amdgpu_amdkfd_get_dmabuf_info(dev->kgd, args->dmabuf_fd, in kfd_ioctl_get_dmabuf_info() 1713 dmabuf = dma_buf_get(args->dmabuf_fd); in kfd_ioctl_import_dmabuf()
|