/openbmc/qemu/ui/ |
H A D | console.c | 292 dcl->ops->dpy_gl_scanout_dmabuf(dcl, con->scanout.dmabuf); in displaychangelistener_display_console() 1143 QemuDmaBuf *dmabuf) in dpy_gl_scanout_dmabuf() argument 1149 con->scanout.dmabuf = dmabuf; in dpy_gl_scanout_dmabuf() 1155 dcl->ops->dpy_gl_scanout_dmabuf(dcl, dmabuf); in dpy_gl_scanout_dmabuf() 1160 void dpy_gl_cursor_dmabuf(QemuConsole *con, QemuDmaBuf *dmabuf, in dpy_gl_cursor_dmabuf() argument 1171 dcl->ops->dpy_gl_cursor_dmabuf(dcl, dmabuf, in dpy_gl_cursor_dmabuf() 1194 QemuDmaBuf *dmabuf) in dpy_gl_release_dmabuf() argument 1204 dcl->ops->dpy_gl_release_dmabuf(dcl, dmabuf); in dpy_gl_release_dmabuf() 1526 return con->scanout.dmabuf->width; in qemu_console_get_width() 1546 return con->scanout.dmabuf->height; in qemu_console_get_height()
|
H A D | dbus-console.c | 111 QemuDmaBuf *dmabuf) in dbus_gl_scanout_dmabuf() argument 116 dmabuf->width, in dbus_gl_scanout_dmabuf() 117 dmabuf->height); in dbus_gl_scanout_dmabuf()
|
/openbmc/linux/drivers/misc/ |
H A D | fastrpc.c | 196 struct dma_buf *dmabuf; member 675 struct fastrpc_buf *buffer = dmabuf->priv; in fastrpc_release() 684 struct fastrpc_buf *buffer = dmabuf->priv; in fastrpc_dma_buf_attach() 714 struct fastrpc_buf *buffer = dmabuf->priv; in fastrpc_dma_buf_detatch() 725 struct fastrpc_buf *buf = dmabuf->priv; in fastrpc_vmap() 735 struct fastrpc_buf *buf = dmabuf->priv; in fastrpc_mmap() 738 dma_resv_assert_held(dmabuf->resv); in fastrpc_mmap() 1617 buf->dmabuf = dma_buf_export(&exp_info); in fastrpc_dmabuf_alloc() 1618 if (IS_ERR(buf->dmabuf)) { in fastrpc_dmabuf_alloc() 1619 err = PTR_ERR(buf->dmabuf); in fastrpc_dmabuf_alloc() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | Makefile | 9 gvt/dmabuf.o \
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_prime.c | 45 return msm_gem_import(dev, attach->dmabuf, sg); in msm_gem_prime_import_sg_table()
|
/openbmc/linux/drivers/dma-buf/heaps/ |
H A D | Kconfig | 5 Choose this option to enable the system dmabuf heap. The system heap
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.h | 70 struct dma_buf *dmabuf; member 319 struct dma_buf *dmabuf, 324 struct dma_buf **dmabuf);
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_gem_shmem_helper.c | 317 ret = dma_buf_vmap(obj->import_attach->dmabuf, map); in drm_gem_shmem_vmap() 320 dma_buf_vunmap(obj->import_attach->dmabuf, map); in drm_gem_shmem_vmap() 383 dma_buf_vunmap(obj->import_attach->dmabuf, map); in drm_gem_shmem_vunmap() 762 size_t size = PAGE_ALIGN(attach->dmabuf->size); in drm_gem_shmem_prime_import_sg_table()
|
H A D | drm_gem_framebuffer_helper.c | 434 ret = dma_buf_end_cpu_access(import_attach->dmabuf, dir); in __drm_gem_fb_end_cpu_access() 471 ret = dma_buf_begin_cpu_access(import_attach->dmabuf, dir); in drm_gem_fb_begin_cpu_access()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_live_selftests.h | 34 selftest(dmabuf, i915_gem_dmabuf_live_selftests)
|
/openbmc/openbmc/poky/meta/recipes-graphics/wayland/ |
H A D | weston_13.0.0.bb | 49 # Can be 'damage', 'im', 'egl', 'shm', 'touch', 'dmabuf-feedback', 'dmabuf-v4l', 'dmabuf-egl' or 'a…
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gem.c | 164 .size = attach->dmabuf->size, in vmw_prime_import_sg_table() 166 .resv = attach->dmabuf->resv, in vmw_prime_import_sg_table()
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_gem.c | 221 if (drm_prime_get_contiguous_size(sg) < attach->dmabuf->size) { in mtk_gem_prime_import_sg_table() 226 mtk_gem = mtk_drm_gem_init(dev, attach->dmabuf->size); in mtk_gem_prime_import_sg_table()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-gpu.h | 211 } dmabuf; member 237 QemuDmaBuf dmabuf[VIRTIO_GPU_MAX_SCANOUTS]; member
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_gem.c | 188 struct dma_resv *resv = attach->dmabuf->resv; in lsdc_prime_import_sg_table() 189 u64 size = attach->dmabuf->size; in lsdc_prime_import_sg_table()
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_chardev.c | 1563 struct dma_buf *dmabuf; in kfd_ioctl_import_dmabuf() local 1569 dmabuf = dma_buf_get(args->dmabuf_fd); in kfd_ioctl_import_dmabuf() 1570 if (IS_ERR(dmabuf)) in kfd_ioctl_import_dmabuf() 1571 return PTR_ERR(dmabuf); in kfd_ioctl_import_dmabuf() 1600 dma_buf_put(dmabuf); in kfd_ioctl_import_dmabuf() 1611 dma_buf_put(dmabuf); in kfd_ioctl_import_dmabuf() 1620 struct dma_buf *dmabuf; in kfd_ioctl_export_dmabuf() local 1651 dma_buf_put(dmabuf); in kfd_ioctl_export_dmabuf() 1857 struct dma_buf *dmabuf; in criu_get_prime_handle() local 1866 ret = dma_buf_fd(dmabuf, flags); in criu_get_prime_handle() [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 1683 static int hl_dmabuf_attach(struct dma_buf *dmabuf, in hl_dmabuf_attach() argument 1690 hl_dmabuf = dmabuf->priv; in hl_dmabuf_attach() 1703 struct dma_buf *dma_buf = attachment->dmabuf; in hl_map_dmabuf() 1730 hl_dmabuf->dmabuf->size, in hl_map_dmabuf() 1806 struct hl_dmabuf_priv *hl_dmabuf = dmabuf->priv; in hl_release_dmabuf() 1846 hl_dmabuf->dmabuf = dma_buf_export(&exp_info); in export_dmabuf() 1847 if (IS_ERR(hl_dmabuf->dmabuf)) { in export_dmabuf() 1849 return PTR_ERR(hl_dmabuf->dmabuf); in export_dmabuf() 1852 fd = dma_buf_fd(hl_dmabuf->dmabuf, flags); in export_dmabuf() 1874 hl_dmabuf->dmabuf->priv = NULL; in export_dmabuf() [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | Makefile | 37 xen-gntdev-$(CONFIG_XEN_GNTDEV_DMABUF) += gntdev-dmabuf.o
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gem.c | 436 if (drm_prime_get_contiguous_size(sgt) < attach->dmabuf->size) { in exynos_drm_gem_prime_import_sg_table() 441 exynos_gem = exynos_drm_gem_init(dev, attach->dmabuf->size); in exynos_drm_gem_prime_import_sg_table()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 314 ret = dma_buf_vmap_unlocked(buf->db_attach->dmabuf, &map); in vb2_dma_sg_vaddr() 596 dma_buf_vunmap_unlocked(buf->db_attach->dmabuf, &map); in vb2_dma_sg_unmap_dmabuf() 613 dma_buf_detach(buf->db_attach->dmabuf, buf->db_attach); in vb2_dma_sg_detach_dmabuf()
|
H A D | videobuf2-dma-contig.c | 104 if (!dma_buf_vmap_unlocked(buf->db_attach->dmabuf, &map)) in vb2_dc_vaddr() 746 dma_buf_vunmap_unlocked(buf->db_attach->dmabuf, &map); in vb2_dc_unmap_dmabuf() 764 dma_buf_detach(buf->db_attach->dmabuf, buf->db_attach); in vb2_dc_detach_dmabuf()
|
/openbmc/qemu/tests/unit/ |
H A D | meson.build | 54 'test-virtio-dmabuf': [meson.project_source_root() / 'hw/display/virtio-dmabuf.c'],
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 8940 if (!dmabuf) in lpfc_sli4_create_rpi_hdr() 8961 rpi_hdr->dmabuf = dmabuf; in lpfc_sli4_create_rpi_hdr() 8976 dmabuf->virt, dmabuf->phys); in lpfc_sli4_create_rpi_hdr() 8978 kfree(dmabuf); in lpfc_sli4_create_rpi_hdr() 9003 rpi_hdr->dmabuf->virt, rpi_hdr->dmabuf->phys); in lpfc_sli4_remove_rpi_hdrs() 9749 if (!dmabuf) in lpfc_create_bootstrap_mbox() 9760 kfree(dmabuf); in lpfc_create_bootstrap_mbox() 9771 phba->sli4_hba.bmbx.dmabuf = dmabuf; in lpfc_create_bootstrap_mbox() 14655 if (!dmabuf) { in lpfc_write_firmware() 14707 dmabuf->virt, dmabuf->phys); in lpfc_write_firmware() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | fd.h | 235 char *dmabuf; member
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | io.rst | 47 dmabuf
|