Home
last modified time | relevance | path

Searched refs:dma_buf_fd (Results 1 – 9 of 9) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_drm.c44 wsi_dma_buf_export_sync_file(int dma_buf_fd, int *sync_file_fd) in wsi_dma_buf_export_sync_file() argument
55 int ret = drmIoctl(dma_buf_fd, DMA_BUF_IOCTL_EXPORT_SYNC_FILE, &export); in wsi_dma_buf_export_sync_file()
72 wsi_dma_buf_import_sync_file(int dma_buf_fd, int sync_file_fd) in wsi_dma_buf_import_sync_file() argument
83 int ret = drmIoctl(dma_buf_fd, DMA_BUF_IOCTL_IMPORT_SYNC_FILE, &import); in wsi_dma_buf_import_sync_file()
108 result = wsi_dma_buf_export_sync_file(image->dma_buf_fd, &sync_file_fd); in prepare_signal_dma_buf_from_semaphore()
112 result = wsi_dma_buf_import_sync_file(image->dma_buf_fd, sync_file_fd); in prepare_signal_dma_buf_from_semaphore()
170 result = wsi_dma_buf_import_sync_file(image->dma_buf_fd, sync_file_fd); in wsi_signal_dma_buf_from_semaphore()
206 result = wsi_dma_buf_export_sync_file(image->dma_buf_fd, &sync_file_fd); in wsi_create_sync_for_dma_buf_wait()
470 &image->dma_buf_fd); in wsi_init_image_dmabuf_fd()
Dwsi_common_private.h140 int dma_buf_fd; member
Dwsi_common_headless.c392 image->dma_buf_fd = -1; in wsi_create_null_image_mem()
Dwsi_common.c686 image->dma_buf_fd = -1; in wsi_create_image()
723 if (image->dma_buf_fd >= 0) in wsi_destroy_image()
724 close(image->dma_buf_fd); in wsi_destroy_image()
Dwsi_common_x11.c2163 fds[i] = os_dupfd_cloexec(image->base.dma_buf_fd); in x11_image_init()
2197 int fd = os_dupfd_cloexec(image->base.dma_buf_fd); in x11_image_init()
Dwsi_common_wayland.c2139 image->base.dma_buf_fd, in wsi_wl_image_init()
Dwsi_common_display.c1158 int ret = drmPrimeFDToHandle(wsi->fd, image->base.dma_buf_fd, in wsi_display_image_init()
/hardware/qcom/sm7250/display/gralloc/
Dgr_ion_alloc.cpp126 int /*handle*/, int op, int dma_buf_fd) { in CleanBuffer() argument
148 if (ioctl(dma_buf_fd, INT(DMA_BUF_IOCTL_SYNC), &sync)) { in CleanBuffer()
/hardware/qcom/sm8150/display/gralloc/
Dgr_ion_alloc.cpp130 int /*handle*/, int op, int dma_buf_fd) { in CleanBuffer() argument
152 if (ioctl(dma_buf_fd, INT(DMA_BUF_IOCTL_SYNC), &sync)) { in CleanBuffer()