Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch.h72 struct fd_batch { struct
264 struct fd_batch * fd_batch_create(struct fd_context *ctx, bool nondraw); argument
266 void fd_batch_reset(struct fd_batch *batch);
267 void fd_batch_flush(struct fd_batch *batch);
268 void fd_batch_add_dep(struct fd_batch *batch, struct fd_batch *dep);
269 void fd_batch_resource_write(struct fd_batch *batch, struct fd_resource *rsc);
270 void fd_batch_resource_read_slowpath(struct fd_batch *batch, struct fd_resource *rsc);
271 void fd_batch_check_size(struct fd_batch *batch);
274 void __fd_batch_describe(char* buf, const struct fd_batch *batch);
275 void __fd_batch_destroy(struct fd_batch *batch);
[all …]
Dfreedreno_batch.c39 alloc_ring(struct fd_batch *batch, unsigned sz, enum fd_ringbuffer_flags flags) in alloc_ring()
61 batch_init(struct fd_batch *batch) in batch_init()
116 struct fd_batch *
119 struct fd_batch *batch = CALLOC_STRUCT(fd_batch); in fd_batch_create()
144 batch_fini(struct fd_batch *batch) in batch_fini()
216 batch_flush_reset_dependencies(struct fd_batch *batch, bool flush) in batch_flush_reset_dependencies()
219 struct fd_batch *dep; in batch_flush_reset_dependencies()
231 batch_reset_resources_locked(struct fd_batch *batch) in batch_reset_resources_locked()
246 batch_reset_resources(struct fd_batch *batch) in batch_reset_resources()
254 batch_reset(struct fd_batch *batch) in batch_reset()
[all …]
Dfreedreno_context.h255 struct fd_batch *batch;
354 void (*emit_tile_init)(struct fd_batch *batch);
355 void (*emit_tile_prep)(struct fd_batch *batch, const struct fd_tile *tile);
356 void (*emit_tile_mem2gmem)(struct fd_batch *batch, const struct fd_tile *tile);
357 void (*emit_tile_renderprep)(struct fd_batch *batch, const struct fd_tile *tile);
358 void (*emit_tile)(struct fd_batch *batch, const struct fd_tile *tile);
359 void (*emit_tile_gmem2mem)(struct fd_batch *batch, const struct fd_tile *tile);
360 void (*emit_tile_fini)(struct fd_batch *batch); /* optional */
363 void (*emit_sysmem_prep)(struct fd_batch *batch);
364 void (*emit_sysmem_fini)(struct fd_batch *batch);
[all …]
Dfreedreno_batch_cache.c137 struct fd_batch *batches[ARRAY_SIZE(cache->batches)] = {0}; in bc_flush()
138 struct fd_batch *batch; in bc_flush()
150 struct fd_batch *current_batch = fd_context_batch(ctx); in bc_flush()
191 batch_in_cache(struct fd_batch_cache *cache, struct fd_batch *batch) in batch_in_cache()
193 struct fd_batch *b; in batch_in_cache()
218 struct fd_batch *batch = (struct fd_batch *)entry->key; in fd_bc_dump()
233 struct fd_batch *batch; in fd_bc_invalidate_context()
256 fd_bc_invalidate_batch(struct fd_batch *batch, bool remove) in fd_bc_invalidate_batch()
292 struct fd_batch *batch; in fd_bc_invalidate_resource()
314 struct fd_batch *
[all …]
Dfreedreno_query_hw.h85 struct fd_hw_sample *(*get_sample)(struct fd_batch *batch,
141 struct fd_hw_sample * fd_hw_sample_init(struct fd_batch *batch, uint32_t size);
144 void fd_hw_query_prepare(struct fd_batch *batch, uint32_t num_tiles);
145 void fd_hw_query_prepare_tile(struct fd_batch *batch, uint32_t n,
147 void fd_hw_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage);
148 void fd_hw_query_enable(struct fd_batch *batch, struct fd_ringbuffer *ring);
Dfreedreno_batch_cache.h33 struct fd_batch;
51 struct fd_batch *batches[32];
71 void fd_bc_invalidate_batch(struct fd_batch *batch, bool destroy);
73 struct fd_batch * fd_bc_alloc_batch(struct fd_batch_cache *cache, struct fd_context *ctx, bool nond…
75 struct fd_batch * fd_batch_from_fb(struct fd_batch_cache *cache,
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);
84 struct fd_batch *batch;
109 void fd_acc_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage);
Dfreedreno_gmem.h88 struct fd_batch;
90 void fd_gmem_render_tiles(struct fd_batch *batch);
91 unsigned fd_gmem_estimate_bins_per_pipe(struct fd_batch *batch);
92 bool fd_gmem_needs_restore(struct fd_batch *batch, const struct fd_tile *tile,
Dfreedreno_query_hw.c42 get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring, in get_sample()
65 clear_sample_cache(struct fd_batch *batch) in clear_sample_cache()
81 resume_query(struct fd_batch *batch, struct fd_hw_query *hq, in resume_query()
97 pause_query(struct fd_batch *batch, struct fd_hw_query *hq, in pause_query()
138 struct fd_batch *batch = fd_context_batch(ctx); in fd_hw_begin_query()
157 struct fd_batch *batch = fd_context_batch(ctx); in fd_hw_end_query()
296 fd_hw_sample_init(struct fd_batch *batch, uint32_t size) in fd_hw_sample_init()
342 fd_hw_query_prepare(struct fd_batch *batch, uint32_t num_tiles) in fd_hw_query_prepare()
364 fd_hw_query_prepare_tile(struct fd_batch *batch, uint32_t n, in fd_hw_query_prepare_tile()
380 fd_hw_query_set_stage(struct fd_batch *batch, enum fd_render_stage stage) in fd_hw_query_set_stage()
[all …]
Dfreedreno_log.h29 struct fd_batch;
33 void fd_log_flush(struct fd_batch *batch);
34 void _fd_log(struct fd_batch *batch, const char *fmt, ...)
Dfreedreno_resource.h73 struct fd_batch *write_batch;
286 fd_batch_references_resource(struct fd_batch *batch, struct fd_resource *rsc) in fd_batch_references_resource()
292 fd_batch_write_prep(struct fd_batch *batch, struct fd_resource *rsc) in fd_batch_write_prep()
301 fd_batch_resource_read(struct fd_batch *batch, in fd_batch_resource_read()
Dfreedreno_fence.h51 struct fd_batch;
52 struct pipe_fence_handle * fd_fence_create(struct fd_batch *batch);
Dfreedreno_fence.c42 struct fd_batch *batch;
105 struct fd_batch *batch, uint32_t timestamp, int fence_fd, int syncobj) in fence_create()
190 struct pipe_fence_handle * fd_fence_create(struct fd_batch *batch) in fd_fence_create()
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()
62 batch_draw_tracking(struct fd_batch *batch, const struct pipe_draw_info *info) in batch_draw_tracking()
262 struct fd_batch *batch = NULL; in fd_draw_vbo()
340 batch_clear_tracking(struct fd_batch *batch, unsigned buffers) in batch_clear_tracking()
400 struct fd_batch *batch = NULL; in fd_clear()
480 struct fd_batch *batch, *save_batch = NULL; in fd_launch_grid()
Dfreedreno_log.c77 get_chunk(struct fd_batch *batch) in get_chunk()
201 fd_log_flush(struct fd_batch *batch) in fd_log_flush()
209 _fd_log(struct fd_batch *batch, const char *fmt, ...) in _fd_log()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c253 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
265 patch_fb_read(struct fd_batch *batch) in patch_fb_read()
277 update_render_cntl(struct fd_batch *batch, struct pipe_framebuffer_state *pfb, bool binning) in update_render_cntl()
320 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe()
401 emit_vsc_overflow_test(struct fd_batch *batch) in emit_vsc_overflow_test()
501 emit_conditional_ib(struct fd_batch *batch, const struct fd_tile *tile, in emit_conditional_ib()
557 emit_binning_pass(struct fd_batch *batch) in emit_binning_pass()
666 static void prepare_tile_setup_ib(struct fd_batch *batch);
667 static void prepare_tile_fini_ib(struct fd_batch *batch);
671 fd6_emit_tile_init(struct fd_batch *batch) in fd6_emit_tile_init()
[all …]
Dfd6_query.c63 occlusion_resume(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_resume()
79 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 time_elapsed_pause(struct fd_acc_query *aq, struct fd_batch *batch) in time_elapsed_pause()
199 timestamp_pause(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_pause()
331 primitives_generated_resume(struct fd_acc_query *aq, struct fd_batch *batch) in primitives_generated_resume()
347 primitives_generated_pause(struct fd_acc_query *aq, struct fd_batch *batch) in primitives_generated_pause()
392 primitives_emitted_resume(struct fd_acc_query *aq, struct fd_batch *batch) in primitives_emitted_resume()
404 primitives_emitted_pause(struct fd_acc_query *aq, struct fd_batch *batch) in primitives_emitted_pause()
466 perfcntr_resume(struct fd_acc_query *aq, struct fd_batch *batch) in perfcntr_resume()
[all …]
Dfd6_emit.h145 fd6_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd6_event_write()
165 fd6_cache_inv(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd6_cache_inv()
171 fd6_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd6_cache_flush()
195 fd6_emit_blit(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd6_emit_blit()
282 void fd6_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c233 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
248 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
259 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe()
301 emit_binning_pass(struct fd_batch *batch) in emit_binning_pass()
365 fd5_emit_tile_init(struct fd_batch *batch) in fd5_emit_tile_init()
410 fd5_emit_tile_prep(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_prep()
465 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf()
522 fd5_emit_tile_mem2gmem(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_mem2gmem()
565 fd5_emit_tile_renderprep(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_renderprep()
603 emit_gmem2mem_surf(struct fd_batch *batch, uint32_t base, in emit_gmem2mem_surf()
[all …]
Dfd5_query.c61 occlusion_resume(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_resume()
79 occlusion_pause(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_pause()
164 timestamp_resume(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_resume()
178 timestamp_pause(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_pause()
273 perfcntr_resume(struct fd_acc_query *aq, struct fd_batch *batch) in perfcntr_resume()
313 perfcntr_pause(struct fd_acc_query *aq, struct fd_batch *batch) in perfcntr_pause()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c131 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
147 emit_gmem2mem_surf(struct fd_batch *batch, bool stencil, in emit_gmem2mem_surf()
187 fd4_emit_tile_gmem2mem(struct fd_batch *batch, const struct fd_tile *tile) in fd4_emit_tile_gmem2mem()
297 emit_mem2gmem_surf(struct fd_batch *batch, const uint32_t *bases, in emit_mem2gmem_surf()
322 fd4_emit_tile_mem2gmem(struct fd_batch *batch, const struct fd_tile *tile) in fd4_emit_tile_mem2gmem()
502 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
514 fd4_emit_sysmem_prep(struct fd_batch *batch) in fd4_emit_sysmem_prep()
550 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe()
586 emit_binning_pass(struct fd_batch *batch) in emit_binning_pass()
651 fd4_emit_tile_init(struct fd_batch *batch) in fd4_emit_tile_init()
[all …]
Dfd4_query.c49 occlusion_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in occlusion_get_sample()
118 struct fd_batch *batch = fd_context_batch(ctx); in time_elapsed_enable()
125 time_elapsed_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in time_elapsed_get_sample()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c128 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
159 static void update_vsc_pipe(struct fd_batch *batch);
161 emit_binning_workaround(struct fd_batch *batch) in emit_binning_workaround()
311 emit_gmem2mem_surf(struct fd_batch *batch, in emit_gmem2mem_surf()
355 fd3_emit_tile_gmem2mem(struct fd_batch *batch, const struct fd_tile *tile) in fd3_emit_tile_gmem2mem()
478 emit_mem2gmem_surf(struct fd_batch *batch, const uint32_t bases[], in emit_mem2gmem_surf()
534 fd3_emit_tile_mem2gmem(struct fd_batch *batch, const struct fd_tile *tile) in fd3_emit_tile_mem2gmem()
696 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
707 patch_rbrc(struct fd_batch *batch, uint32_t val) in patch_rbrc()
719 fd3_emit_sysmem_prep(struct fd_batch *batch) in fd3_emit_sysmem_prep()
[all …]
Dfd3_emit.h93 void fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
105 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.c63 use_hw_binning(struct fd_batch *batch) in use_hw_binning()
87 emit_gmem2mem_surf(struct fd_batch *batch, uint32_t base, in emit_gmem2mem_surf()
135 prepare_tile_fini_ib(struct fd_batch *batch) in prepare_tile_fini_ib()
219 fd2_emit_tile_gmem2mem(struct fd_batch *batch, const struct fd_tile *tile) in fd2_emit_tile_gmem2mem()
227 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf()
276 fd2_emit_tile_mem2gmem(struct fd_batch *batch, const struct fd_tile *tile) in fd2_emit_tile_mem2gmem()
392 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws()
427 fd2_emit_sysmem_prep(struct fd_batch *batch) in fd2_emit_sysmem_prep()
476 fd2_emit_tile_init(struct fd_batch *batch) in fd2_emit_tile_init()
658 fd2_emit_tile_prep(struct fd_batch *batch, const struct fd_tile *tile) in fd2_emit_tile_prep()
[all …]

12