Home
last modified time | relevance | path

Searched refs:fd_batch (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch.h66 struct fd_batch { struct
207 struct fd_batch * fd_batch_create(struct fd_context *ctx, bool nondraw); argument
209 void fd_batch_reset(struct fd_batch *batch);
210 void fd_batch_sync(struct fd_batch *batch);
211 void fd_batch_flush(struct fd_batch *batch, bool sync, bool force);
212 void fd_batch_add_dep(struct fd_batch *batch, struct fd_batch *dep);
213 void fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write);
214 void fd_batch_check_size(struct fd_batch *batch);
217 void __fd_batch_describe(char* buf, const struct fd_batch *batch);
218 void __fd_batch_destroy(struct fd_batch *batch);
[all …]
Dfreedreno_batch.c39 batch_init(struct fd_batch *batch) in batch_init()
95 struct fd_batch *
98 struct fd_batch *batch = CALLOC_STRUCT(fd_batch); in fd_batch_create()
118 batch_fini(struct fd_batch *batch) in batch_fini()
160 batch_flush_reset_dependencies(struct fd_batch *batch, bool flush) in batch_flush_reset_dependencies()
163 struct fd_batch *dep; in batch_flush_reset_dependencies()
175 batch_reset_resources_locked(struct fd_batch *batch) in batch_reset_resources_locked()
192 batch_reset_resources(struct fd_batch *batch) in batch_reset_resources()
200 batch_reset(struct fd_batch *batch) in batch_reset()
214 fd_batch_reset(struct fd_batch *batch) in fd_batch_reset()
[all …]
Dfreedreno_batch_cache.c131 struct fd_batch *last_batch = NULL; in fd_bc_flush()
136 struct fd_batch *batch = NULL; in fd_bc_flush()
138 fd_batch_reference_locked(&batch, (struct fd_batch *)entry->data); in fd_bc_flush()
164 struct fd_batch *current_batch = ctx->batch; in fd_bc_flush_deferred()
170 struct fd_batch *batch = entry->data; in fd_bc_flush_deferred()
184 struct fd_batch *batch; in fd_bc_invalidate_context()
197 fd_bc_invalidate_batch(struct fd_batch *batch, bool destroy) in fd_bc_invalidate_batch()
233 struct fd_batch *batch; in fd_bc_invalidate_resource()
255 struct fd_batch *
258 struct fd_batch *batch; in fd_bc_alloc_batch()
[all …]
Dfreedreno_context.h228 struct fd_batch *batch;
294 void (*emit_tile_init)(struct fd_batch *batch);
295 void (*emit_tile_prep)(struct fd_batch *batch, struct fd_tile *tile);
296 void (*emit_tile_mem2gmem)(struct fd_batch *batch, struct fd_tile *tile);
297 void (*emit_tile_renderprep)(struct fd_batch *batch, struct fd_tile *tile);
298 void (*emit_tile_gmem2mem)(struct fd_batch *batch, struct fd_tile *tile);
299 void (*emit_tile_fini)(struct fd_batch *batch); /* optional */
302 void (*emit_sysmem_prep)(struct fd_batch *batch);
303 void (*emit_sysmem_fini)(struct fd_batch *batch);
327 void (*query_prepare)(struct fd_batch *batch, uint32_t num_tiles);
[all …]
Dfreedreno_query_hw.h87 struct fd_hw_sample *(*get_sample)(struct fd_batch *batch,
143 struct fd_hw_sample * fd_hw_sample_init(struct fd_batch *batch, uint32_t size);
146 void fd_hw_query_prepare(struct fd_batch *batch, uint32_t num_tiles);
147 void fd_hw_query_prepare_tile(struct fd_batch *batch, uint32_t n,
149 void fd_hw_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage);
150 void fd_hw_query_enable(struct fd_batch *batch, struct fd_ringbuffer *ring);
Dfreedreno_batch_cache.h33 struct fd_batch;
50 struct fd_batch *batches[32];
69 void fd_bc_invalidate_batch(struct fd_batch *batch, bool destroy);
71 struct fd_batch * fd_bc_alloc_batch(struct fd_batch_cache *cache, struct fd_context *ctx);
73 struct fd_batch * fd_batch_from_fb(struct fd_batch_cache *cache,
Dfreedreno_gmem.h63 struct fd_batch;
65 void fd_gmem_render_tiles(struct fd_batch *batch);
66 void fd_gmem_render_noop(struct fd_batch *batch);
68 bool fd_gmem_needs_restore(struct fd_batch *batch, struct fd_tile *tile,
Dfreedreno_query_hw.c44 get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring, in get_sample()
67 clear_sample_cache(struct fd_batch *batch) in clear_sample_cache()
83 resume_query(struct fd_batch *batch, struct fd_hw_query *hq, in resume_query()
99 pause_query(struct fd_batch *batch, struct fd_hw_query *hq, in pause_query()
140 struct fd_batch *batch = ctx->batch; in fd_hw_begin_query()
161 struct fd_batch *batch = ctx->batch; in fd_hw_end_query()
299 fd_hw_sample_init(struct fd_batch *batch, uint32_t size) in fd_hw_sample_init()
345 fd_hw_query_prepare(struct fd_batch *batch, uint32_t num_tiles) in fd_hw_query_prepare()
367 fd_hw_query_prepare_tile(struct fd_batch *batch, uint32_t n, in fd_hw_query_prepare_tile()
383 fd_hw_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage) in fd_hw_query_set_stage()
[all …]
Dfreedreno_fence.c43 struct fd_batch *batch;
103 struct fd_batch *batch, uint32_t timestamp, int fence_fd) in fence_create()
132 struct fd_batch *batch = ctx->batch; in fd_fence_server_sync()
148 struct pipe_fence_handle * fd_fence_create(struct fd_batch *batch) in fd_fence_create()
Dfreedreno_query_acc.h67 void (*resume)(struct fd_acc_query *aq, struct fd_batch *batch);
68 void (*pause)(struct fd_acc_query *aq, struct fd_batch *batch);
94 void fd_acc_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage);
Dfreedreno_gmem.c107 calculate_tiles(struct fd_batch *batch) in calculate_tiles()
314 render_tiles(struct fd_batch *batch) in render_tiles()
355 render_sysmem(struct fd_batch *batch) in render_sysmem()
373 flush_ring(struct fd_batch *batch) in flush_ring()
388 fd_gmem_render_tiles(struct fd_batch *batch) in fd_gmem_render_tiles()
445 fd_gmem_render_noop(struct fd_batch *batch) in fd_gmem_render_noop()
476 fd_gmem_needs_restore(struct fd_batch *batch, struct fd_tile *tile, in fd_gmem_needs_restore()
Dfreedreno_fence.h50 struct fd_batch;
51 struct pipe_fence_handle * fd_fence_create(struct fd_batch *batch);
Dfreedreno_query_acc.c79 struct fd_batch *batch = ctx->batch; in fd_acc_begin_query()
102 struct fd_batch *batch = ctx->batch; in fd_acc_end_query()
201 fd_acc_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage) in fd_acc_query_set_stage()
Dfreedreno_draw.h45 fd_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd_draw()
115 fd_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd_draw_emit()
Dfreedreno_draw.c46 resource_read(struct fd_batch *batch, struct pipe_resource *prsc) in resource_read()
54 resource_written(struct fd_batch *batch, struct pipe_resource *prsc) in resource_written()
65 struct fd_batch *batch = ctx->batch; in fd_draw_vbo()
352 struct fd_batch *batch = ctx->batch; in fd_clear()
459 struct fd_batch *batch, *save_batch = NULL; in fd_launch_grid()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c236 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
251 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
262 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe()
306 emit_binning_pass(struct fd_batch *batch) in emit_binning_pass()
370 fd5_emit_tile_init(struct fd_batch *batch) in fd5_emit_tile_init()
416 fd5_emit_tile_prep(struct fd_batch *batch, struct fd_tile *tile) in fd5_emit_tile_prep()
469 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf()
526 fd5_emit_tile_mem2gmem(struct fd_batch *batch, struct fd_tile *tile) in fd5_emit_tile_mem2gmem()
570 fd5_emit_tile_renderprep(struct fd_batch *batch, struct fd_tile *tile) in fd5_emit_tile_renderprep()
606 emit_gmem2mem_surf(struct fd_batch *batch, uint32_t base, in emit_gmem2mem_surf()
[all …]
Dfd5_query.c55 occlusion_resume(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_resume()
73 occlusion_pause(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_pause()
161 timestamp_resume(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_resume()
175 timestamp_pause(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_pause()
Dfd5_draw.h42 fd5_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd5_draw()
82 fd5_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd5_draw_emit()
Dfd5_emit.h101 fd5_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_cache_flush()
195 void fd5_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c131 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
162 static void update_vsc_pipe(struct fd_batch *batch);
164 emit_binning_workaround(struct fd_batch *batch) in emit_binning_workaround()
317 emit_gmem2mem_surf(struct fd_batch *batch, in emit_gmem2mem_surf()
356 fd3_emit_tile_gmem2mem(struct fd_batch *batch, struct fd_tile *tile) in fd3_emit_tile_gmem2mem()
481 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t bases[], in emit_mem2gmem_surf()
537 fd3_emit_tile_mem2gmem(struct fd_batch *batch, struct fd_tile *tile) in fd3_emit_tile_mem2gmem()
704 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
715 patch_rbrc(struct fd_batch *batch, uint32_t val) in patch_rbrc()
727 fd3_emit_sysmem_prep(struct fd_batch *batch) in fd3_emit_sysmem_prep()
[all …]
Dfd3_emit.h92 void fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
97 fd3_emit_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd3_emit_cache_flush()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c65 emit_gmem2mem_surf(struct fd_batch *batch, uint32_t base, in emit_gmem2mem_surf()
104 fd2_emit_tile_gmem2mem(struct fd_batch *batch, struct fd_tile *tile) in fd2_emit_tile_gmem2mem()
183 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf()
227 fd2_emit_tile_mem2gmem(struct fd_batch *batch, struct fd_tile *tile) in fd2_emit_tile_mem2gmem()
339 fd2_emit_tile_init(struct fd_batch *batch) in fd2_emit_tile_init()
363 fd2_emit_tile_prep(struct fd_batch *batch, struct fd_tile *tile) in fd2_emit_tile_prep()
385 fd2_emit_tile_renderprep(struct fd_batch *batch, struct fd_tile *tile) in fd2_emit_tile_renderprep()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c135 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
151 emit_gmem2mem_surf(struct fd_batch *batch, bool stencil, in emit_gmem2mem_surf()
189 fd4_emit_tile_gmem2mem(struct fd_batch *batch, struct fd_tile *tile) in fd4_emit_tile_gmem2mem()
302 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t *bases, in emit_mem2gmem_surf()
327 fd4_emit_tile_mem2gmem(struct fd_batch *batch, struct fd_tile *tile) in fd4_emit_tile_mem2gmem()
512 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
524 fd4_emit_sysmem_prep(struct fd_batch *batch) in fd4_emit_sysmem_prep()
560 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe()
597 emit_binning_pass(struct fd_batch *batch) in emit_binning_pass()
663 fd4_emit_tile_init(struct fd_batch *batch) in fd4_emit_tile_init()
[all …]
Dfd4_draw.h51 fd4_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd4_draw()
104 fd4_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd4_draw_emit()
Dfd4_query.c51 occlusion_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in occlusion_get_sample()
126 time_elapsed_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in time_elapsed_get_sample()

12