Lines Matching refs:batches
44 BITSET_FOREACH_SET(idx, ctx->batches.active, PAN_MAX_BATCHES)
49 return batch - batch->ctx->batches.slots; in panfrost_batch_idx()
74 batch->seqnum = ++ctx->batches.seqnum; in panfrost_batch_init()
149 BITSET_CLEAR(ctx->batches.active, batch_idx); in panfrost_batch_cleanup()
164 if (ctx->batches.slots[i].seqnum && in panfrost_get_batch()
165 util_framebuffer_state_equal(&ctx->batches.slots[i].key, key)) { in panfrost_get_batch()
169 ctx->batches.slots[i].seqnum = ++ctx->batches.seqnum; in panfrost_get_batch()
170 return &ctx->batches.slots[i]; in panfrost_get_batch()
173 if (!batch || batch->seqnum > ctx->batches.slots[i].seqnum) in panfrost_get_batch()
174 batch = &ctx->batches.slots[i]; in panfrost_get_batch()
186 BITSET_SET(ctx->batches.active, batch_idx); in panfrost_get_batch()
261 struct panfrost_batch *batch = &ctx->batches.slots[i]; in panfrost_batch_update_access()
796 if (ctx->batches.slots[i].seqnum) { in panfrost_flush_all_batches()
800 panfrost_batch_submit(ctx, &ctx->batches.slots[i], in panfrost_flush_all_batches()
826 struct panfrost_batch *batch = &ctx->batches.slots[i]; in panfrost_flush_batches_accessing_rsrc()