Home
last modified time | relevance | path

Searched refs:last_fence (Results 1 - 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/freedreno/
H A 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()
138 * fence->last_fence in fd_fence_finish()
[all...]
H A Dfreedreno_context.c87 if (ctx->last_fence) {
88 fd_fence_repopulate(*fencep, ctx->last_fence);
90 fd_bc_dump(ctx, "%p: (deferred) reuse last_fence, remaining:\n", ctx);
103 /* In some sequence of events, we can end up with a last_fence that is
107 if ((flags & PIPE_FLUSH_FENCE_FD) && ctx->last_fence &&
108 !fd_fence_is_fd(ctx->last_fence))
109 fd_fence_ref(&ctx->last_fence, NULL);
114 if (ctx->last_fence) {
115 fd_fence_ref(&fence, ctx->last_fence);
116 fd_bc_dump(ctx, "%p: reuse last_fence, remainin
[all...]
H A Dfreedreno_fence.h39 * the last_fence optimization is used, this will be a reference to the
42 struct pipe_fence_handle *last_fence; member
81 struct pipe_fence_handle *last_fence);
H A Dfreedreno_batch.h355 fd_fence_ref(&batch->ctx->last_fence, NULL); in fd_batch_needs_flush()
H A Dfreedreno_batch.c366 fd_fence_ref(&batch->ctx->last_fence, batch->fence);
H A Dfreedreno_context.h304 struct pipe_fence_handle *last_fence dt;
/third_party/mesa3d/src/gallium/frontends/xa/
H A 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()
H A Dxa_priv.h103 struct pipe_fence_handle *last_fence; member
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_batch.c142 if (ctx->last_fence == &bs->fence) in pop_batch_state()
143 ctx->last_fence = NULL; in pop_batch_state()
332 if (ctx->last_fence) { in zink_start_batch()
333 struct zink_batch_state *last_state = zink_batch_state(ctx->last_fence); in zink_start_batch()
484 if (ctx->last_fence) in zink_end_batch()
485 zink_batch_state(ctx->last_fence)->next = bs; in zink_end_batch()
490 ctx->last_fence = &bs->fence; in zink_end_batch()
H A Dzink_context.h216 struct zink_fence *last_fence; //the last command buffer submitted member
H A Dzink_context.c2682 sync_flush(ctx, zink_batch_state(ctx->last_fence)); in stall()
2683 zink_screen_timeline_wait(screen, ctx->last_fence->batch_id, PIPE_TIMEOUT_INFINITE); in stall()
3425 fence = ctx->last_fence; in zink_flush()
3428 struct zink_batch_state *last = zink_batch_state(ctx->last_fence); in zink_flush()
3487 if (ctx->last_fence) in zink_fence_wait()
3498 bs = zink_batch_state(ctx->last_fence); in zink_wait_on_batch()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_autotune.c66 uint32_t last_fence; member
326 history->last_fence = new_fence; in tu_autotune_on_submit()
358 if (history->last_fence == 0 || in tu_autotune_on_submit()
359 gpu_fence < history->last_fence || in tu_autotune_on_submit()
360 (gpu_fence - history->last_fence) <= MAX_HISTORY_LIFETIME) in tu_autotune_on_submit()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast.c1104 lp_fence_reference(&rast->last_fence, scene->fence); in lp_rast_queue_scene()
1105 if (rast->last_fence) in lp_rast_queue_scene()
1106 rast->last_fence->issued = TRUE; in lp_rast_queue_scene()
1358 lp_fence_reference(&rast->last_fence, NULL); in lp_rast_destroy()
1374 lp_fence_reference((struct lp_fence **)fence, rast->last_fence); in lp_rast_fence()
H A Dlp_rast_priv.h133 struct lp_fence *last_fence; member
/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_pipe.c200 uint32_t fence = ++pipe->last_fence; in fd_pipe_emit_fence()
H A Dfreedreno_priv.h241 uint32_t last_fence; member
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_fence.c302 if (iris_fine_fence_signaled(batch->last_fence)) in iris_fence_flush()
305 iris_fine_fence_reference(screen, &fence->fine[b], batch->last_fence); in iris_fence_flush()
H A Diris_batch.h135 struct iris_fine_fence *last_fence; member
H A Diris_batch.c582 iris_fine_fence_reference(batch->screen, &batch->last_fence, NULL); in iris_batch_free()
689 iris_fine_fence_reference(batch->screen, &batch->last_fence, sq); in finish_seqno()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_fence.c248 if (crocus_fine_fence_signaled(batch->last_fence)) in crocus_fence_flush()
252 batch->last_fence); in crocus_fence_flush()
H A Dcrocus_batch.c350 batch->other_batches[b]->last_fence->syncobj, in crocus_use_bo()
569 crocus_fine_fence_reference(batch->screen, &batch->last_fence, NULL); in crocus_batch_free()
739 crocus_fine_fence_reference(batch->screen, &batch->last_fence, sq); in finish_seqno()
H A Dcrocus_batch.h147 struct crocus_fine_fence *last_fence; member
/third_party/libdrm/intel/
H A 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/src/gallium/frontends/lavapipe/
H A Dlvp_device.c1456 queue->ctx->flush(queue->ctx, &queue->last_fence, 0); in lvp_queue_submit()
1461 lvp_pipe_sync_signal_with_fence(queue->device, sync, queue->last_fence); in lvp_queue_submit()
1577 if (device->queue.last_fence) in lvp_DestroyDevice()
1578 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NULL); in lvp_DestroyDevice()
H A Dlvp_private.h180 struct pipe_fence_handle *last_fence; member

Completed in 32 milliseconds

12