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

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.c82 fd_fence_repopulate(struct pipe_fence_handle *fence, struct pipe_fence_handle *last_fence) argument
84 if (last_fence->last_fence)
85 fd_fence_repopulate(fence, last_fence->last_fence);
91 assert(!last_fence->batch);
93 fd_fence_ref(&fence->last_fence, last_fence);
104 fd_fence_ref(&fence->last_fence, NULL);
138 * fence->last_fence
[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 in struct:pipe_fence_handle
81 struct pipe_fence_handle *last_fence);
H A Dfreedreno_context.c86 if (ctx->last_fence) {
87 fd_fence_repopulate(*fencep, ctx->last_fence);
89 fd_bc_dump(ctx, "%p: (deferred) reuse last_fence, remaining:\n", ctx);
102 /* In some sequence of events, we can end up with a last_fence that is
106 if ((flags & PIPE_FLUSH_FENCE_FD) && ctx->last_fence &&
107 !fd_fence_is_fd(ctx->last_fence))
108 fd_fence_ref(&ctx->last_fence, NULL);
113 if (ctx->last_fence) {
114 fd_fence_ref(&fence, ctx->last_fence);
115 fd_bc_dump(ctx, "%p: reuse last_fence, remainin
[all...]
H A Dfreedreno_batch.h367 fd_fence_ref(&batch->ctx->last_fence, NULL);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_context.c55 if (ctx->last_fence) {
56 fd_fence_ref(pctx->screen, &fence, ctx->last_fence);
83 fd_fence_ref(pctx->screen, &ctx->last_fence, fence);
165 fd_fence_ref(pctx->screen, &ctx->last_fence, NULL);
H A Dfreedreno_draw.c103 fd_fence_ref(pctx->screen, &ctx->last_fence, NULL);
321 fd_fence_ref(pctx->screen, &ctx->last_fence, NULL);
H A Dfreedreno_context.h230 struct pipe_fence_handle *last_fence; member in struct:fd_context
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xa/
H A Dxa_context.c40 if (ctx->last_fence) {
42 screen->fence_reference(screen, &ctx->last_fence, NULL);
44 ctx->pipe->flush(ctx->pipe, &ctx->last_fence, 0);
369 if (ctx->last_fence == NULL)
372 screen->fence_reference(screen, &fence->pipe_fence, ctx->last_fence);
H A Dxa_priv.h103 struct pipe_fence_handle *last_fence; member in struct:xa_context
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xa/
H A Dxa_context.c40 if (ctx->last_fence) {
42 screen->fence_reference(screen, &ctx->last_fence, NULL);
44 ctx->pipe->flush(ctx->pipe, &ctx->last_fence, 0);
370 if (ctx->last_fence == NULL)
373 screen->fence_reference(screen, &fence->pipe_fence, ctx->last_fence);
H A Dxa_priv.h103 struct pipe_fence_handle *last_fence; member in struct:xa_context
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_context.h94 struct lp_fence *last_fence; member in struct:lp_setup_context
H A Dlp_setup.c163 lp_fence_reference(&setup->last_fence, scene->fence);
165 if (setup->last_fence)
166 setup->last_fence->issued = TRUE;
363 lp_fence_reference((struct lp_fence **)fence, setup->last_fence);
1300 lp_fence_reference(&setup->last_fence, NULL);
1466 lp_fence_reference(&pq->fence, setup->last_fence);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_batch.c137 if (ctx->last_fence == &bs->fence)
138 ctx->last_fence = NULL;
323 if (ctx->last_fence) {
324 struct zink_batch_state *last_state = zink_batch_state(ctx->last_fence);
607 if (ctx->last_fence)
608 zink_batch_state(ctx->last_fence)->next = bs;
613 ctx->last_fence = &bs->fence;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_batch.h125 struct iris_fine_fence *last_fence; member in struct:iris_batch
H A Diris_fence.c299 if (iris_fine_fence_signaled(batch->last_fence))
302 iris_fine_fence_reference(screen, &fence->fine[b], batch->last_fence);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_context.h95 struct lp_fence *last_fence; member in struct:lp_setup_context
H A Dlp_setup.c183 lp_fence_reference(&setup->last_fence, scene->fence);
185 if (setup->last_fence)
186 setup->last_fence->issued = TRUE;
383 lp_fence_reference((struct lp_fence **)fence, setup->last_fence);
1547 lp_fence_reference(&setup->last_fence, NULL);
1714 lp_fence_reference(&pq->fence, setup->last_fence);
/xsrc/external/mit/MesaLib/dist/src/freedreno/drm/
H A Dfreedreno_pipe.c194 uint32_t fence = ++pipe->last_fence;
H A Dfreedreno_priv.h213 uint32_t last_fence; member in struct:fd_pipe
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_device.c1166 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, handle);
1459 if (device->queue.last_fence)
1460 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NULL);
1610 if (queue->last_fence) {
1611 queue->device->pscreen->fence_finish(queue->device->pscreen, NULL, queue->last_fence, PIPE_TIMEOUT_INFINITE);
1612 queue->device->pscreen->fence_reference(queue->device->pscreen, &queue->device->queue.last_fence, NULL);
2097 if (fence->handle == device->queue.last_fence)
2098 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NULL);
2124 if (fence->handle == device->queue.last_fence) {
2125 device->pscreen->fence_reference(device->pscreen, &device->queue.last_fence, NUL
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_fence.c248 if (crocus_fine_fence_signaled(batch->last_fence))
252 batch->last_fence);
H A Dcrocus_batch.h147 struct crocus_fine_fence *last_fence; member in struct:crocus_batch
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.1.5.rst113 - freedreno: Consolidate needs_flush and clearing last_fence
/xsrc/external/mit/libdrm/dist/intel/
H A Dintel_bufmgr_fake.c139 unsigned int last_fence; member in struct:_bufmgr_fake
412 return fence == 0 || FENCE_LTE(fence, bufmgr_fake->last_fence);
594 bufmgr_fake->last_fence = fence_cookie;
622 bufmgr_fake->last_fence);

Completed in 86 milliseconds

12