/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_fence.c | 41 int fence_fd; member 48 if (fence->fence_fd != -1) in etna_fence_destroy() 49 close(fence->fence_fd); in etna_fence_destroy() 68 if (fence->fence_fd != -1) in etna_screen_fence_finish() 69 return !sync_wait(fence->fence_fd, timeout / 1000000); in etna_screen_fence_finish() 92 if (pfence->fence_fd != -1) in etna_fence_server_sync() 93 sync_accumulate("etnaviv", &ctx->in_fence_fd, pfence->fence_fd); in etna_fence_server_sync() 100 return os_dupfd_cloexec(pfence->fence_fd); in etna_screen_fence_get_fd() 104 etna_fence_create(struct pipe_context *pctx, int fence_fd) in etna_fence_create() argument 117 fence->fence_fd = fence_fd; in etna_fence_create()
|
D | etnaviv_fence.h | 47 etna_fence_create(struct pipe_context *pctx, int fence_fd);
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_android.c | 53 int semaphore_fd = -1, fence_fd = -1; in vk_common_AcquireImageANDROID() local 60 fence_fd = dup(nativeFenceFd); in vk_common_AcquireImageANDROID() 61 if (fence_fd < 0) { in vk_common_AcquireImageANDROID() 70 fence_fd = nativeFenceFd; in vk_common_AcquireImageANDROID() 96 .fd = fence_fd, in vk_common_AcquireImageANDROID() 100 fence_fd = -1; /* The driver took ownership */ in vk_common_AcquireImageANDROID() 105 if (fence_fd >= 0) in vk_common_AcquireImageANDROID() 106 close(fence_fd); in vk_common_AcquireImageANDROID()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_fence.c | 108 close(fence->submit_fence.fence_fd); in fd_fence_destroy() 150 int ret = sync_wait(fence->submit_fence.fence_fd, timeout / 1000000); in fd_fence_finish() 161 fence_create(struct fd_context *ctx, struct fd_batch *batch, int fence_fd, in fence_create() argument 178 fence->submit_fence.fence_fd = fence_fd; in fence_create() 179 fence->submit_fence.use_fence_fd = (fence_fd != -1); in fence_create() 232 if (sync_accumulate("freedreno", &ctx->in_fence_fd, fence->submit_fence.fence_fd)) { in fd_fence_server_sync() 261 return os_dupfd_cloexec(fence->submit_fence.fence_fd); in fd_fence_get_fd()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_ohos.c | 215 int fence_fd; in ohos_window_dequeue_buffer() local 218 &fence_fd)) { in ohos_window_dequeue_buffer() 239 if (fence_fd >= 0) { in ohos_window_dequeue_buffer() 245 sync_wait(fence_fd, timeout); in ohos_window_dequeue_buffer() 246 close(fence_fd); in ohos_window_dequeue_buffer() 299 int fence_fd = dri2_surf->out_fence_fd; in ohos_window_enqueue_buffer() local 301 ANativeWindow_queueBuffer(dri2_surf->window, dri2_surf->buffer, fence_fd); in ohos_window_enqueue_buffer() 320 int fence_fd = dri2_surf->out_fence_fd; in ohos_window_cancel_buffer() local 324 fence_fd); in ohos_window_cancel_buffer() 943 ohos_display_shared_buffer(__DRIdrawable *driDrawable, int fence_fd, in ohos_display_shared_buffer() argument [all …]
|
D | platform_android.c | 496 int fence_fd; in droid_window_dequeue_buffer() local 499 &fence_fd)) in droid_window_dequeue_buffer() 504 validate_fence_fd(fence_fd); in droid_window_dequeue_buffer() 506 dri2_surf->in_fence_fd = fence_fd; in droid_window_dequeue_buffer() 559 int fence_fd = dri2_surf->out_fence_fd; in droid_window_enqueue_buffer() local 561 ANativeWindow_queueBuffer(dri2_surf->window, dri2_surf->buffer, fence_fd); in droid_window_enqueue_buffer() 580 int fence_fd = dri2_surf->out_fence_fd; in droid_window_cancel_buffer() local 584 fence_fd); in droid_window_cancel_buffer() 1401 droid_display_shared_buffer(__DRIdrawable *driDrawable, int fence_fd, in droid_display_shared_buffer() argument 1413 if (fence_fd >= 0) { in droid_display_shared_buffer() [all …]
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_fence.c | 63 int32_t fence_fd; member 200 fence->fence_fd = fd; in vmw_fence_create() 238 if (vfence->fence_fd != -1) in vmw_fence_destroy() 239 close(vfence->fence_fd); in vmw_fence_destroy() 361 ret = sync_wait(vfence->fence_fd, timeout / 1000000); in vmw_fence_finish() 403 return vfence->fence_fd; in vmw_fence_get_fd()
|
/third_party/mesa3d/src/freedreno/drm/virtio/ |
D | virtio_device.c | 253 .fence_fd = in_fence_fd, in execbuf_locked() 268 *out_fence_fd = eb.fence_fd; in execbuf_locked() 335 int fence_fd, ret = 0; in virtio_execbuf() local 353 ret = execbuf_flush_locked(dev, &fence_fd); in virtio_execbuf() 362 sync_wait(fence_fd, -1); in virtio_execbuf() 363 close(fence_fd); in virtio_execbuf()
|
D | virtio_ringbuffer.c | 183 out_fence_fd = &out_fence->fence_fd; in flush_submit_list()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_dri3.c | 226 int buffer_fd, fence_fd; in dri3_alloc_back_buffer() local 234 fence_fd = xshmfence_alloc_shm(); in dri3_alloc_back_buffer() 235 if (fence_fd < 0) in dri3_alloc_back_buffer() 238 shm_fence = xshmfence_map_shm(fence_fd); in dri3_alloc_back_buffer() 296 fence_fd); in dri3_alloc_back_buffer() 311 close(fence_fd); in dri3_alloc_back_buffer() 466 int fence_fd, *fds; in dri3_get_front_buffer() local 479 fence_fd = xshmfence_alloc_shm(); in dri3_get_front_buffer() 480 if (fence_fd < 0) in dri3_get_front_buffer() 483 shm_fence = xshmfence_map_shm(fence_fd); in dri3_get_front_buffer() [all …]
|
/third_party/mesa3d/src/freedreno/drm/msm/ |
D | msm_ringbuffer_sp.c | 106 req.fence_fd = fd_submit->in_fence_fd; in flush_submit_list() 155 fd_submit->out_fence->fence_fd = req.fence_fd; in flush_submit_list()
|
D | msm_ringbuffer.c | 353 req.fence_fd = in_fence_fd; in msm_submit_flush() 375 out_fence->fence_fd = req.fence_fd; in msm_submit_flush()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_android.c | 743 int fence_fd = -1; in vn_AcquireImageANDROID() local 747 fence_fd = os_dupfd_cloexec(nativeFenceFd); in vn_AcquireImageANDROID() 748 if (fence_fd < 0) { in vn_AcquireImageANDROID() 757 fence_fd = nativeFenceFd; in vn_AcquireImageANDROID() 784 .fd = fence_fd, in vn_AcquireImageANDROID() 788 fence_fd = -1; in vn_AcquireImageANDROID() 793 if (fence_fd >= 0) in vn_AcquireImageANDROID() 794 close(fence_fd); in vn_AcquireImageANDROID()
|
/third_party/mesa3d/src/loader/ |
D | loader_dri3_helper.c | 1409 int buffer_fds[4], fence_fd; in dri3_alloc_render_buffer() local 1420 fence_fd = xshmfence_alloc_shm(); in dri3_alloc_render_buffer() 1421 if (fence_fd < 0) in dri3_alloc_render_buffer() 1424 shm_fence = xshmfence_map_shm(fence_fd); in dri3_alloc_render_buffer() 1657 fence_fd); in dri3_alloc_render_buffer() 1686 close(fence_fd); in dri3_alloc_render_buffer() 1917 int fence_fd; in dri3_get_pixmap_buffer() local 1929 fence_fd = xshmfence_alloc_shm(); in dri3_get_pixmap_buffer() 1930 if (fence_fd < 0) in dri3_get_pixmap_buffer() 1932 shm_fence = xshmfence_map_shm(fence_fd); in dri3_get_pixmap_buffer() [all …]
|
/third_party/libdrm/etnaviv/ |
D | etnaviv_cmd_stream.c | 199 req.fence_fd = in_fence_fd; in flush() 221 *out_fence_fd = req.fence_fd; in flush()
|
D | etnaviv_drm.h | 208 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */ member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | msm_kgsl.h | 825 int fence_fd; /* Fence to signal */ member 1231 int fence_fd; member 1252 int fence_fd; member
|
/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_cmd_stream.c | 222 req.fence_fd = in_fence_fd; in etna_cmd_stream_flush() 248 *out_fence_fd = req.fence_fd; in etna_cmd_stream_flush()
|
/third_party/libdrm/include/drm/ |
D | virtgpu_drm.h | 69 __s32 fence_fd; /* in/out fence fd (see VIRTGPU_EXECBUF_FENCE_FD_IN/OUT) */ member
|
D | msm_drm.h | 223 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */ member
|
/third_party/mesa3d/include/drm-uapi/ |
D | virtgpu_drm.h | 73 __s32 fence_fd; /* in/out fence fd (see VIRTGPU_EXECBUF_FENCE_FD_IN/OUT) */ member
|
D | etnaviv_drm.h | 208 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */ member
|
D | msm_drm.h | 275 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */ member
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_x11.c | 1647 int fence_fd; in x11_image_init() local 1742 fence_fd = xshmfence_alloc_shm(); in x11_image_init() 1743 if (fence_fd < 0) in x11_image_init() 1746 image->shm_fence = xshmfence_map_shm(fence_fd); in x11_image_init() 1755 fence_fd); in x11_image_init() 1763 close(fence_fd); in x11_image_init()
|
/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_ringbuffer.h | 114 int fence_fd; member
|