Lines Matching defs:batch
59 * State related to batch/resource tracking.
65 * replacement called on driver thread. But it complicates the batch/
80 * that the batch doesn't hold reference to resources (but instead
82 * the resource is destroyed we need to clean up the batch's weak
87 /* reference to batch that writes this resource: */
90 /* Set of batches whose batch-cache key references this resource.
91 * We need to track this to know which batch-cache entries to
369 fd_batch_references_resource(struct fd_batch *batch, struct fd_resource *rsc)
371 return rsc->track->batch_mask & (1 << batch->idx);
375 fd_batch_write_prep(struct fd_batch *batch, struct fd_resource *rsc) assert_dt
378 batch->ctx->clear_ubwc(batch, rsc);
384 fd_batch_resource_read(struct fd_batch *batch,
391 if (unlikely(!fd_batch_references_resource(batch, rsc)))
392 fd_batch_resource_read_slowpath(batch, rsc);