Searched refs:dma_buf_fd (Results 1 – 9 of 9) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common_drm.c | 44 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()
|
D | wsi_common_private.h | 140 int dma_buf_fd; member
|
D | wsi_common_headless.c | 392 image->dma_buf_fd = -1; in wsi_create_null_image_mem()
|
D | wsi_common.c | 686 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()
|
D | wsi_common_x11.c | 2163 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()
|
D | wsi_common_wayland.c | 2139 image->base.dma_buf_fd, in wsi_wl_image_init()
|
D | wsi_common_display.c | 1158 int ret = drmPrimeFDToHandle(wsi->fd, image->base.dma_buf_fd, in wsi_display_image_init()
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_ion_alloc.cpp | 126 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/ |
D | gr_ion_alloc.cpp | 130 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()
|