Home
last modified time | relevance | path

Searched refs:last_fence (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_fence.c82 fd_fence_repopulate(struct pipe_fence_handle *fence, struct pipe_fence_handle *last_fence) in fd_fence_repopulate() argument
84 if (last_fence->last_fence) in fd_fence_repopulate()
85 fd_fence_repopulate(fence, last_fence->last_fence); in fd_fence_repopulate()
91 assert(!last_fence->batch); in fd_fence_repopulate()
93 fd_fence_ref(&fence->last_fence, last_fence); in fd_fence_repopulate()
104 fd_fence_ref(&fence->last_fence, NULL); in fd_fence_destroy()
143 if (fence->last_fence) in fd_fence_finish()
144 return fd_fence_finish(pscreen, pctx, fence->last_fence, timeout); in fd_fence_finish()
146 if (fence->last_fence) in fd_fence_finish()
147 fence = fence->last_fence; in fd_fence_finish()
[all …]
Dfreedreno_context.c86 if (ctx->last_fence) { in fd_context_flush()
87 fd_fence_repopulate(*fencep, ctx->last_fence); in fd_context_flush()
106 if ((flags & PIPE_FLUSH_FENCE_FD) && ctx->last_fence && in fd_context_flush()
107 !fd_fence_is_fd(ctx->last_fence)) in fd_context_flush()
108 fd_fence_ref(&ctx->last_fence, NULL); in fd_context_flush()
113 if (ctx->last_fence) { in fd_context_flush()
114 fd_fence_ref(&fence, ctx->last_fence); in fd_context_flush()
145 fd_fence_ref(&ctx->last_fence, fence); in fd_context_flush()
344 fd_fence_ref(&ctx->last_fence, NULL); in fd_context_destroy()
Dfreedreno_fence.h42 struct pipe_fence_handle *last_fence; member
81 struct pipe_fence_handle *last_fence);
Dfreedreno_batch.h367 fd_fence_ref(&batch->ctx->last_fence, NULL); in fd_batch_needs_flush()
Dfreedreno_context.h301 struct pipe_fence_handle *last_fence dt;
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkfullscreenquad.c623 …self->last_fence ? gst_vulkan_fence_ref (self->last_fence) : gst_vulkan_fence_new_always_signalled…
637 GstVulkanFence *last_fence = \
642 gst_vulkan_trash_list_acquire (self->trash_list, last_fence, \
646 gst_vulkan_fence_unref (last_fence); \
665 GstVulkanFence *last_fence = in clear_shaders() local
670 gst_vulkan_trash_list_acquire (self->trash_list, last_fence, in clear_shaders()
676 gst_vulkan_trash_list_acquire (self->trash_list, last_fence, in clear_shaders()
680 gst_vulkan_fence_unref (last_fence); in clear_shaders()
687 GstVulkanFence *last_fence = in clear_uniform_data() local
692 gst_vulkan_trash_list_acquire (self->trash_list, last_fence, in clear_uniform_data()
[all …]
Dgstvkfullscreenquad.h82 GstVulkanFence *last_fence; member
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_context.c40 if (ctx->last_fence) { in xa_context_flush()
42 screen->fence_reference(screen, &ctx->last_fence, NULL); in xa_context_flush()
44 ctx->pipe->flush(ctx->pipe, &ctx->last_fence, 0); in xa_context_flush()
370 if (ctx->last_fence == NULL) in xa_fence_get()
373 screen->fence_reference(screen, &fence->pipe_fence, ctx->last_fence); in xa_fence_get()
Dxa_priv.h103 struct pipe_fence_handle *last_fence; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_batch.c137 if (ctx->last_fence == &bs->fence) in pop_batch_state()
138 ctx->last_fence = NULL; in pop_batch_state()
323 if (ctx->last_fence) { in zink_start_batch()
324 struct zink_batch_state *last_state = zink_batch_state(ctx->last_fence); in zink_start_batch()
607 if (ctx->last_fence) in zink_end_batch()
608 zink_batch_state(ctx->last_fence)->next = bs; in zink_end_batch()
613 ctx->last_fence = &bs->fence; in zink_end_batch()
Dzink_context.c2437 sync_flush(ctx, zink_batch_state(ctx->last_fence)); in stall()
2438 zink_vkfence_wait(zink_screen(ctx->base.screen), ctx->last_fence, PIPE_TIMEOUT_INFINITE); in stall()
3049 fence = ctx->last_fence; in zink_flush()
3052 struct zink_batch_state *last = zink_batch_state(ctx->last_fence); in zink_flush()
3121 if (ctx->last_fence) in zink_fence_wait()
3141 assert(batch_id || ctx->last_fence); in zink_wait_on_batch()
3142 …if (ctx->last_fence && (!batch_id || batch_id == zink_batch_state(ctx->last_fence)->fence.batch_id… in zink_wait_on_batch()
3143 fence = ctx->last_fence; in zink_wait_on_batch()
3191 if (ctx->last_fence && batch_id == zink_batch_state(ctx->last_fence)->fence.batch_id) in zink_check_batch_completion()
3192 fence = ctx->last_fence; in zink_check_batch_completion()
Dzink_context.h200 struct zink_fence *last_fence; //the last command buffer submitted member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c1166 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, handle); in set_last_fence()
1456 if (device->queue.last_fence) in lvp_DestroyDevice()
1457 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NULL); in lvp_DestroyDevice()
1607 if (queue->last_fence) { in lvp_QueueWaitIdle()
1608 …queue->device->pscreen->fence_finish(queue->device->pscreen, NULL, queue->last_fence, PIPE_TIMEOUT… in lvp_QueueWaitIdle()
1609 …->device->pscreen->fence_reference(queue->device->pscreen, &queue->device->queue.last_fence, NULL); in lvp_QueueWaitIdle()
2094 if (fence->handle == device->queue.last_fence) in lvp_ResetFences()
2095 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NULL); in lvp_ResetFences()
2121 if (fence->handle == device->queue.last_fence) { in lvp_GetFenceStatus()
2122 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NULL); in lvp_GetFenceStatus()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c248 if (crocus_fine_fence_signaled(batch->last_fence)) in crocus_fence_flush()
252 batch->last_fence); in crocus_fence_flush()
Dcrocus_batch.h147 struct crocus_fine_fence *last_fence; member
Dcrocus_batch.c341 batch->other_batches[b]->last_fence->syncobj, in crocus_use_bo()
560 crocus_fine_fence_reference(batch->screen, &batch->last_fence, NULL); in crocus_batch_free()
730 crocus_fine_fence_reference(batch->screen, &batch->last_fence, sq); in finish_seqno()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_pipe.c194 uint32_t fence = ++pipe->last_fence; in fd_pipe_emit_fence()
Dfreedreno_priv.h213 uint32_t last_fence; member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c183 lp_fence_reference(&setup->last_fence, scene->fence); in lp_setup_rasterize_scene()
185 if (setup->last_fence) in lp_setup_rasterize_scene()
186 setup->last_fence->issued = TRUE; in lp_setup_rasterize_scene()
383 lp_fence_reference((struct lp_fence **)fence, setup->last_fence); in lp_setup_flush()
1547 lp_fence_reference(&setup->last_fence, NULL); in lp_setup_destroy()
1714 lp_fence_reference(&pq->fence, setup->last_fence); in lp_setup_end_query()
Dlp_setup_context.h95 struct lp_fence *last_fence; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c299 if (iris_fine_fence_signaled(batch->last_fence)) in iris_fence_flush()
302 iris_fine_fence_reference(screen, &fence->fine[b], batch->last_fence); in iris_fence_flush()
Diris_batch.h125 struct iris_fine_fence *last_fence; member
Diris_batch.c463 iris_fine_fence_reference(batch->screen, &batch->last_fence, NULL); in iris_batch_free()
550 iris_fine_fence_reference(batch->screen, &batch->last_fence, sq); in finish_seqno()
/third_party/libdrm/intel/
Dintel_bufmgr_fake.c139 unsigned int last_fence; member
412 return fence == 0 || FENCE_LTE(fence, bufmgr_fake->last_fence); in _fence_test()
594 bufmgr_fake->last_fence = fence_cookie; in clear_fenced()
622 bufmgr_fake->last_fence); in clear_fenced()
/third_party/mesa3d/docs/relnotes/
D21.1.5.rst113 - freedreno: Consolidate needs_flush and clearing last_fence

12