/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_fence.c | 82 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 D | freedreno_context.c | 87 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 D | freedreno_fence.h | 39 * 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 D | freedreno_batch.h | 355 fd_fence_ref(&batch->ctx->last_fence, NULL); in fd_batch_needs_flush()
|
H A D | freedreno_batch.c | 366 fd_fence_ref(&batch->ctx->last_fence, batch->fence);
|
H A D | freedreno_context.h | 304 struct pipe_fence_handle *last_fence dt;
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
H A D | xa_context.c | 40 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 D | xa_priv.h | 103 struct pipe_fence_handle *last_fence; member
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_batch.c | 142 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 D | zink_context.h | 216 struct zink_fence *last_fence; //the last command buffer submitted member
|
H A D | zink_context.c | 2682 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 D | tu_autotune.c | 66 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 D | lp_rast.c | 1104 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 D | lp_rast_priv.h | 133 struct lp_fence *last_fence; member
|
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_pipe.c | 200 uint32_t fence = ++pipe->last_fence; in fd_pipe_emit_fence()
|
H A D | freedreno_priv.h | 241 uint32_t last_fence; member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_fence.c | 302 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 D | iris_batch.h | 135 struct iris_fine_fence *last_fence; member
|
H A D | iris_batch.c | 582 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 D | crocus_fence.c | 248 if (crocus_fine_fence_signaled(batch->last_fence)) in crocus_fence_flush() 252 batch->last_fence); in crocus_fence_flush()
|
H A D | crocus_batch.c | 350 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 D | crocus_batch.h | 147 struct crocus_fine_fence *last_fence; member
|
/third_party/libdrm/intel/ |
H A D | intel_bufmgr_fake.c | 139 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 D | lvp_device.c | 1456 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 D | lvp_private.h | 180 struct pipe_fence_handle *last_fence; member
|