Home
last modified time | relevance | path

Searched refs:fence_fd (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/ui/
H A Ddmabuf.c27 int fence_fd; member
54 dmabuf->fence_fd = -1; in qemu_dmabuf_new()
184 return dmabuf->fence_fd; in qemu_dmabuf_get_fence_fd()
207 void qemu_dmabuf_set_fence_fd(QemuDmaBuf *dmabuf, int32_t fence_fd) in qemu_dmabuf_set_fence_fd() argument
210 dmabuf->fence_fd = fence_fd; in qemu_dmabuf_set_fence_fd()
H A Dgtk-gl-area.c88 int fence_fd; in gd_gl_area_draw() local
90 fence_fd = qemu_dmabuf_get_fence_fd(dmabuf); in gd_gl_area_draw()
91 if (fence_fd >= 0) { in gd_gl_area_draw()
92 qemu_set_fd_handler(fence_fd, gd_hw_gl_flushed, NULL, vc); in gd_gl_area_draw()
H A Dgtk-egl.c71 int fence_fd; in gd_egl_draw() local
103 fence_fd = qemu_dmabuf_get_fence_fd(dmabuf); in gd_egl_draw()
104 if (fence_fd >= 0) { in gd_egl_draw()
105 qemu_set_fd_handler(fence_fd, gd_hw_gl_flushed, NULL, vc); in gd_egl_draw()
H A Degl-helpers.c393 int fence_fd; in egl_dmabuf_create_fence() local
396 fence_fd = eglDupNativeFenceFDANDROID(qemu_egl_display, in egl_dmabuf_create_fence()
398 qemu_dmabuf_set_fence_fd(dmabuf, fence_fd); in egl_dmabuf_create_fence()
H A Dgtk.c599 int fence_fd; in gd_hw_gl_flushed() local
601 fence_fd = qemu_dmabuf_get_fence_fd(dmabuf); in gd_hw_gl_flushed()
602 if (fence_fd >= 0) { in gd_hw_gl_flushed()
603 qemu_set_fd_handler(fence_fd, NULL, NULL, NULL); in gd_hw_gl_flushed()
604 close(fence_fd); in gd_hw_gl_flushed()
/openbmc/qemu/include/ui/
H A Ddmabuf.h44 void qemu_dmabuf_set_fence_fd(QemuDmaBuf *dmabuf, int32_t fence_fd);
/openbmc/linux/include/uapi/drm/
H A Dvirtgpu_drm.h84 __s32 fence_fd; /* in/out fence fd (see VIRTGPU_EXECBUF_FENCE_FD_IN/OUT) */ member
H A Detnaviv_drm.h208 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */ member
H A Dmsm_drm.h287 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */ member
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c441 sync_file_get_fence(submit->exbuf->fence_fd); in virtio_gpu_wait_in_fence()
460 submit->exbuf->fence_fd = submit->out_fence_fd; in virtio_gpu_install_out_fence_fd()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c554 struct dma_fence *in_fence = sync_file_get_fence(args->fence_fd); in etnaviv_ioctl_gem_submit()
615 args->fence_fd = out_fence_fd; in etnaviv_ioctl_gem_submit()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c815 in_fence = sync_file_get_fence(args->fence_fd); in msm_ioctl_gem_submit()
973 args->fence_fd = out_fence_fd; in msm_ioctl_gem_submit()