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.c163 debug_assert(rsc->batch_mask & (1 << batch->idx)); in batch_reset_resources_locked()
164 rsc->batch_mask &= ~(1 << batch->idx); in batch_reset_resources_locked()
367 if (rsc->batch_mask != (1 << batch->idx)) { in fd_batch_resource_used()
370 foreach_batch(dep, cache, rsc->batch_mask) { in fd_batch_resource_used()
390 if (rsc->batch_mask & (1 << batch->idx)) in fd_batch_resource_used()
396 rsc->batch_mask |= (1 << batch->idx); in fd_batch_resource_used()
Dfreedreno_batch_cache.c163 foreach_batch(batch, cache, cache->batch_mask) { in fd_bc_invalidate_context()
184 cache->batch_mask &= ~(1 << batch->idx); in fd_bc_invalidate_batch()
213 foreach_batch(batch, &screen->batch_cache, rsc->batch_mask) { in fd_bc_invalidate_resource()
217 rsc->batch_mask = 0; in fd_bc_invalidate_resource()
238 while ((idx = ffs(~cache->batch_mask)) == 0) { in fd_bc_alloc_batch()
300 cache->batch_mask |= (1 << idx); in fd_bc_alloc_batch()
Dfreedreno_resource.h88 uint32_t batch_mask; member
115 if (write && rsc->batch_mask) in pending()
Dfreedreno_batch_cache.h51 uint32_t batch_mask; member
Dfreedreno_resource.c206 debug_assert(shadow->batch_mask == 0); in fd_try_shadow_resource()
208 foreach_batch(batch, &ctx->screen->batch_cache, rsc->batch_mask) { in fd_try_shadow_resource()
213 swap(rsc->batch_mask, shadow->batch_mask); in fd_try_shadow_resource()
529 foreach_batch(batch, &ctx->screen->batch_cache, rsc->batch_mask) { in fd_resource_transfer_map()
537 assert(rsc->batch_mask == 0); in fd_resource_transfer_map()