Home
last modified time | relevance | path

Searched refs:batch_mask (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch_cache.c143 foreach_batch(batch, cache, cache->batch_mask) { in bc_flush()
195 foreach_batch (b, cache, cache->batch_mask) in batch_in_cache()
237 foreach_batch(batch, cache, cache->batch_mask) { in fd_bc_invalidate_context()
268 cache->batch_mask &= ~(1 << batch->idx); in fd_bc_invalidate_batch()
297 foreach_batch(batch, &screen->batch_cache, rsc->batch_mask) { in fd_bc_invalidate_resource()
301 rsc->batch_mask = 0; in fd_bc_invalidate_resource()
329 while ((idx = ffs(~cache->batch_mask)) == 0) { in fd_bc_alloc_batch()
387 cache->batch_mask |= (1 << idx); in fd_bc_alloc_batch()
Dfreedreno_resource.h70 uint32_t batch_mask; member
141 if (write && rsc->batch_mask) in pending()
288 return rsc->batch_mask & (1 << batch->idx); in fd_batch_references_resource()
Dfreedreno_batch.c238 debug_assert(rsc->batch_mask & (1 << batch->idx)); in batch_reset_resources_locked()
239 rsc->batch_mask &= ~(1 << batch->idx); in batch_reset_resources_locked()
432 rsc->batch_mask |= (1 << batch->idx); in fd_batch_add_resource()
453 if (unlikely(rsc->batch_mask & ~(1 << batch->idx))) { in fd_batch_resource_write()
460 foreach_batch(dep, cache, rsc->batch_mask) { in fd_batch_resource_write()
Dfreedreno_resource.c325 debug_assert(shadow->batch_mask == 0); in fd_try_shadow_resource()
327 foreach_batch(batch, &ctx->screen->batch_cache, rsc->batch_mask) { in fd_try_shadow_resource()
332 swap(rsc->batch_mask, shadow->batch_mask); in fd_try_shadow_resource()
529 uint32_t batch_mask; in flush_resource() local
537 batch_mask = rsc->batch_mask; in flush_resource()
538 foreach_batch(batch, &ctx->screen->batch_cache, batch_mask) in flush_resource()
542 foreach_batch(batch, &ctx->screen->batch_cache, batch_mask) in flush_resource()
545 foreach_batch(batch, &ctx->screen->batch_cache, batch_mask) { in flush_resource()
548 assert(rsc->batch_mask == 0); in flush_resource()
Dfreedreno_batch_cache.h52 uint32_t batch_mask; member