Home
last modified time | relevance | path

Searched refs:zink_batch_state (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_batch.h62 struct zink_batch_state { struct
64 struct zink_batch_state *next; argument
108 struct zink_batch_state *state; argument
120 static inline struct zink_batch_state *
121 zink_batch_state(struct zink_fence *fence) in zink_batch_state() function
123 return (struct zink_batch_state *)fence; in zink_batch_state()
127 zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs);
130 zink_clear_batch_state(struct zink_context *ctx, struct zink_batch_state *bs);
136 zink_batch_state_destroy(struct zink_screen *screen, struct zink_batch_state *bs);
139 zink_batch_state_clear_resources(struct zink_screen *screen, struct zink_batch_state *bs);
[all …]
Dzink_batch.c23 debug_describe_zink_batch_state(char *buf, const struct zink_batch_state *ptr) in debug_describe_zink_batch_state()
29 zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs) in zink_reset_batch_state()
115 unref_resources(struct zink_screen *screen, struct zink_batch_state *bs) in unref_resources()
124 zink_clear_batch_state(struct zink_context *ctx, struct zink_batch_state *bs) in zink_clear_batch_state()
134 const struct zink_batch_state *bs = ctx->batch_states; in pop_batch_state()
146 struct zink_batch_state *bs = ctx->batch_states; in zink_batch_reset_all()
150 util_dynarray_append(&ctx->free_batch_states, struct zink_batch_state *, bs); in zink_batch_reset_all()
156 zink_batch_state_destroy(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_state_destroy()
189 static struct zink_batch_state *
193 struct zink_batch_state *bs = rzalloc(NULL, struct zink_batch_state); in create_batch_state()
[all …]
Dzink_descriptors.h260 zink_batch_descriptor_deinit(struct zink_screen *screen, struct zink_batch_state *bs);
262 zink_batch_descriptor_reset(struct zink_screen *screen, struct zink_batch_state *bs);
264 zink_batch_descriptor_init(struct zink_screen *screen, struct zink_batch_state *bs);
287 zink_batch_descriptor_deinit_lazy(struct zink_screen *screen, struct zink_batch_state *bs);
289 zink_batch_descriptor_reset_lazy(struct zink_screen *screen, struct zink_batch_state *bs);
291 zink_batch_descriptor_init_lazy(struct zink_screen *screen, struct zink_batch_state *bs);
Dzink_screen.h47 struct zink_batch_state;
153 bool (*batch_descriptor_init)(struct zink_screen *screen, struct zink_batch_state *bs);
154 void (*batch_descriptor_reset)(struct zink_screen *screen, struct zink_batch_state *bs);
155 void (*batch_descriptor_deinit)(struct zink_screen *screen, struct zink_batch_state *bs);
Dzink_query.h30 struct zink_batch_state;
46 zink_prune_query(struct zink_screen *screen, struct zink_batch_state *bs, struct zink_query *query);
Dzink_resource.h220 zink_resource_usage_matches(const struct zink_resource *res, const struct zink_batch_state *bs) in zink_resource_usage_matches()
250 zink_resource_usage_set(struct zink_resource *res, struct zink_batch_state *bs, bool write) in zink_resource_usage_set()
256 zink_resource_object_usage_unset(struct zink_resource_object *obj, struct zink_batch_state *bs) in zink_resource_object_usage_unset()
Dzink_bo.h219 zink_bo_usage_matches(const struct zink_bo *bo, const struct zink_batch_state *bs) in zink_bo_usage_matches()
245 zink_bo_usage_set(struct zink_bo *bo, struct zink_batch_state *bs, bool write) in zink_bo_usage_set()
254 zink_bo_usage_unset(struct zink_bo *bo, struct zink_batch_state *bs) in zink_bo_usage_unset()
Dzink_fence.c141 zink_batch_state(fence)->usage.usage = 0; in zink_vkfence_wait()
178 unsigned submit_diff = zink_batch_state(mfence->fence)->submit_count - mfence->submit_count; in zink_fence_finish()
Dzink_fence.h36 struct zink_batch_state;
Dzink_descriptors_lazy.c74 bdd_lazy(struct zink_batch_state *bs) in bdd_lazy()
464 struct zink_batch_state *bs = ctx->batch.state; in zink_descriptors_update_lazy_masked()
506 struct zink_batch_state *bs = ctx->batch.state; in zink_descriptors_alloc_lazy_push()
524 struct zink_batch_state *bs = ctx->batch.state; in zink_descriptors_update_lazy()
619 zink_batch_descriptor_deinit_lazy(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_descriptor_deinit_lazy()
647 zink_batch_descriptor_reset_lazy(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_descriptor_reset_lazy()
676 zink_batch_descriptor_init_lazy(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_descriptor_init_lazy()
Dzink_context.c111 struct zink_batch_state *bs = ctx->batch_states; in zink_context_destroy()
113 struct zink_batch_state *bs_next = bs->next; in zink_context_destroy()
118 util_dynarray_foreach(&ctx->free_batch_states, struct zink_batch_state*, bs) { in zink_context_destroy()
2325 sync_flush(struct zink_context *ctx, struct zink_batch_state *bs) in sync_flush()
2437 sync_flush(ctx, zink_batch_state(ctx->last_fence)); in stall()
3052 struct zink_batch_state *last = zink_batch_state(ctx->last_fence); in zink_flush()
3100 sync_flush(ctx, zink_batch_state(fence)); in zink_flush()
3128 struct zink_batch_state *bs = ctx->batch.state; in zink_wait_on_batch()
3142 …if (ctx->last_fence && (!batch_id || batch_id == zink_batch_state(ctx->last_fence)->fence.batch_id… in zink_wait_on_batch()
3165 sync_flush(ctx, zink_batch_state(fence)); in zink_wait_on_batch()
[all …]
Dzink_context.h201 …struct zink_batch_state *batch_states; //list of submitted batch states: ordered by increasing tim…
Dzink_draw.cpp416 update_gfx_pipeline(struct zink_context *ctx, struct zink_batch_state *bs, enum pipe_prim_type mode) in update_gfx_pipeline()
436 struct zink_batch_state *bs = ctx->batch.state; in hack_conditional_render()
Dzink_descriptors.c1490 zink_batch_descriptor_deinit(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_descriptor_deinit()
1499 zink_batch_descriptor_reset(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_descriptor_reset()
1515 zink_batch_descriptor_init(struct zink_screen *screen, struct zink_batch_state *bs) in zink_batch_descriptor_init()
Dzink_query.c363 zink_prune_query(struct zink_screen *screen, struct zink_batch_state *bs, struct zink_query *query) in zink_prune_query()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst4292 - zink: Do not access just freed zink_batch_state
D21.2.0.rst4015 - zink: remove zink_batch_state::descs_used