/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch.h | 52 struct fd_batch { struct 272 struct fd_batch *fd_batch_create(struct fd_context *ctx, bool nondraw); argument 274 void fd_batch_reset(struct fd_batch *batch) assert_dt; 275 void fd_batch_flush(struct fd_batch *batch) assert_dt; 276 void fd_batch_add_dep(struct fd_batch *batch, struct fd_batch *dep) assert_dt; 277 void fd_batch_resource_write(struct fd_batch *batch, 279 void fd_batch_resource_read_slowpath(struct fd_batch *batch, 281 void fd_batch_check_size(struct fd_batch *batch) assert_dt; 289 void __fd_batch_describe(char *buf, const struct fd_batch *batch) assert_dt; 290 void __fd_batch_destroy(struct fd_batch *batch); [all …]
|
D | freedreno_batch.c | 39 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() 123 struct fd_batch * 126 struct fd_batch *batch = CALLOC_STRUCT(fd_batch); in fd_batch_create() 148 cleanup_submit(struct fd_batch *batch) in cleanup_submit() 192 batch_fini(struct fd_batch *batch) in batch_fini() 231 batch_flush_dependencies(struct fd_batch *batch) assert_dt in batch_flush_dependencies() 234 struct fd_batch *dep; in batch_flush_dependencies() 245 batch_reset_dependencies(struct fd_batch *batch) in batch_reset_dependencies() 248 struct fd_batch *dep; in batch_reset_dependencies() [all …]
|
D | freedreno_batch_cache.c | 154 struct fd_batch *batches[ARRAY_SIZE(cache->batches)] = {0}; in fd_bc_flush() 155 struct fd_batch *batch; in fd_bc_flush() 172 struct fd_batch *current_batch = fd_context_batch(ctx); in fd_bc_flush() 205 struct fd_batch *write_batch = NULL; in fd_bc_flush_writer() 221 struct fd_batch *batch, *batches[32] = {}; in fd_bc_flush_readers() 256 struct fd_batch *batch = cache->batches[i]; in fd_bc_dump() 279 fd_bc_invalidate_batch(struct fd_batch *batch, bool remove) in fd_bc_invalidate_batch() 312 struct fd_batch *batch; in fd_bc_invalidate_resource() 334 static struct fd_batch * 338 struct fd_batch *batch; in alloc_batch_locked() [all …]
|
D | freedreno_context.h | 52 struct fd_batch; 295 struct fd_batch *batch dt; 453 void (*emit_tile_init)(struct fd_batch *batch) dt; 454 void (*emit_tile_prep)(struct fd_batch *batch, 456 void (*emit_tile_mem2gmem)(struct fd_batch *batch, 458 void (*emit_tile_renderprep)(struct fd_batch *batch, 460 void (*emit_tile)(struct fd_batch *batch, const struct fd_tile *tile) dt; 461 void (*emit_tile_gmem2mem)(struct fd_batch *batch, 463 void (*emit_tile_fini)(struct fd_batch *batch) dt; /* optional */ 466 void (*emit_sysmem_prep)(struct fd_batch *batch) dt; [all …]
|
D | freedreno_query_hw.h | 84 struct fd_hw_sample *(*get_sample)(struct fd_batch *batch, 138 struct fd_hw_sample *fd_hw_sample_init(struct fd_batch *batch, uint32_t size); 141 void fd_hw_query_prepare(struct fd_batch *batch, uint32_t num_tiles) assert_dt; 142 void fd_hw_query_prepare_tile(struct fd_batch *batch, uint32_t n, 144 void fd_hw_query_update_batch(struct fd_batch *batch, bool end_batch) assert_dt; 145 void fd_hw_query_enable(struct fd_batch *batch,
|
D | freedreno_batch_cache.h | 35 struct fd_batch; 53 struct fd_batch *batches[32]; 75 void fd_bc_invalidate_batch(struct fd_batch *batch, bool destroy); 77 struct fd_batch *fd_bc_alloc_batch(struct fd_context *ctx, 80 struct fd_batch *
|
D | freedreno_query_acc.h | 65 void (*resume)(struct fd_acc_query *aq, struct fd_batch *batch) dt; 66 void (*pause)(struct fd_acc_query *aq, struct fd_batch *batch) dt; 82 struct fd_batch *batch; 107 void fd_acc_query_update_batch(struct fd_batch *batch,
|
D | freedreno_query_hw.c | 42 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() 74 query_active_in_batch(struct fd_batch *batch, struct fd_hw_query *hq) in query_active_in_batch() 81 resume_query(struct fd_batch *batch, struct fd_hw_query *hq, in resume_query() 98 pause_query(struct fd_batch *batch, struct fd_hw_query *hq, in pause_query() 140 struct fd_batch *batch = fd_context_batch_locked(ctx); in fd_hw_begin_query() 162 struct fd_batch *batch = fd_context_batch_locked(ctx); in fd_hw_end_query() 292 fd_hw_sample_init(struct fd_batch *batch, uint32_t size) in fd_hw_sample_init() 338 fd_hw_query_prepare(struct fd_batch *batch, uint32_t num_tiles) in fd_hw_query_prepare() 360 fd_hw_query_prepare_tile(struct fd_batch *batch, uint32_t n, in fd_hw_query_prepare_tile() [all …]
|
D | freedreno_fence.h | 55 struct fd_batch *batch; 97 struct fd_batch; 98 struct pipe_fence_handle *fd_fence_create(struct fd_batch *batch); 101 struct fd_batch *batch);
|
D | freedreno_gmem.h | 88 struct fd_batch; 90 void fd_gmem_render_tiles(struct fd_batch *batch) assert_dt; 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,
|
D | freedreno_context.c | 49 struct fd_batch *batch = NULL; in fd_context_flush() 244 struct fd_batch *batch = fd_context_batch_locked(ctx); in fd_emit_string_marker() 278 fd_context_switch_to(struct fd_context *ctx, struct fd_batch *batch) in fd_context_switch_to() 290 struct fd_batch * 293 struct fd_batch *batch = NULL; in fd_context_batch() 317 struct fd_batch * 320 struct fd_batch *batch = NULL; in fd_context_batch_locked() 451 struct fd_batch *batch = container_of(ut, struct fd_batch, trace); in fd_trace_record_ts()
|
D | freedreno_autotune.h | 174 struct fd_batch; 176 struct fd_batch *batch) assert_dt;
|
D | freedreno_draw.c | 46 resource_read(struct fd_batch *batch, struct pipe_resource *prsc) assert_dt in resource_read() 54 resource_written(struct fd_batch *batch, struct pipe_resource *prsc) assert_dt in resource_written() 62 batch_draw_tracking_for_dirty_bits(struct fd_batch *batch) assert_dt in batch_draw_tracking_for_dirty_bits() 196 batch_draw_tracking(struct fd_batch *batch, const struct pipe_draw_info *info, in batch_draw_tracking() 326 struct fd_batch *batch = fd_context_batch(ctx); in fd_draw_vbo() 385 batch_clear_tracking(struct fd_batch *batch, unsigned buffers) assert_dt in batch_clear_tracking() 444 struct fd_batch *batch = fd_context_batch(ctx); in fd_clear() 525 struct fd_batch *batch, *save_batch = NULL; in fd_launch_grid()
|
D | freedreno_resource.h | 88 struct fd_batch *write_batch; 369 fd_batch_references_resource(struct fd_batch *batch, struct fd_resource *rsc) in fd_batch_references_resource() 375 fd_batch_write_prep(struct fd_batch *batch, struct fd_resource *rsc) assert_dt in fd_batch_write_prep() 384 fd_batch_resource_read(struct fd_batch *batch, in fd_batch_resource_read()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.h | 112 fd5_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) assert_dt in fd5_cache_flush() 141 fd5_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd5_event_write() 154 fd5_emit_blit(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_emit_blit() 190 fd5_emit_lrz_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_emit_lrz_flush() 216 void fd5_emit_restore(struct fd_batch *batch,
|
D | fd5_gmem.c | 238 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 253 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws() 264 update_vsc_pipe(struct fd_batch *batch) assert_dt in update_vsc_pipe() 308 emit_binning_pass(struct fd_batch *batch) assert_dt in emit_binning_pass() 363 fd5_emit_tile_init(struct fd_batch *batch) assert_dt in fd5_emit_tile_init() 423 fd5_emit_tile_prep(struct fd_batch *batch, const struct fd_tile *tile) assert_dt in fd5_emit_tile_prep() 474 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf() 532 fd5_emit_tile_mem2gmem(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_mem2gmem() 574 fd5_emit_tile_renderprep(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_renderprep() 613 emit_gmem2mem_surf(struct fd_batch *batch, uint32_t base, in emit_gmem2mem_surf() [all …]
|
D | fd5_query.c | 61 occlusion_resume(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_resume() 78 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) assert_dt in timestamp_resume() 175 timestamp_pause(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in timestamp_pause() 269 perfcntr_resume(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in perfcntr_resume() 309 perfcntr_pause(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in perfcntr_pause()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_gmem.c | 232 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 244 patch_fb_read_gmem(struct fd_batch *batch) in patch_fb_read_gmem() 276 patch_fb_read_sysmem(struct fd_batch *batch) in patch_fb_read_sysmem() 332 update_render_cntl(struct fd_batch *batch, struct pipe_framebuffer_state *pfb, in update_render_cntl() 382 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe() 462 emit_vsc_overflow_test(struct fd_batch *batch) in emit_vsc_overflow_test() 564 emit_common_init(struct fd_batch *batch) in emit_common_init() 583 emit_common_fini(struct fd_batch *batch) in emit_common_fini() 612 emit_conditional_ib(struct fd_batch *batch, const struct fd_tile *tile, in emit_conditional_ib() 667 emit_binning_pass(struct fd_batch *batch) assert_dt in emit_binning_pass() [all …]
|
D | fd6_query.c | 62 occlusion_resume(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_resume() 78 occlusion_pause(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in occlusion_pause() 159 timestamp_resume(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_resume() 173 time_elapsed_pause(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in time_elapsed_pause() 196 timestamp_pause(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_pause() 332 struct fd_batch *batch) assert_dt in primitives_generated_resume() 348 struct fd_batch *batch) assert_dt in primitives_generated_pause() 394 struct fd_batch *batch) assert_dt in primitives_emitted_resume() 407 struct fd_batch *batch) assert_dt in primitives_emitted_pause() 468 perfcntr_resume(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in perfcntr_resume() [all …]
|
D | fd6_emit.h | 152 fd6_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd6_event_write() 172 fd6_cache_inv(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd6_cache_inv() 180 fd6_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd6_cache_flush() 204 fd6_emit_blit(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd6_emit_blit() 292 void fd6_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 142 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 173 static void update_vsc_pipe(struct fd_batch *batch); 175 emit_binning_workaround(struct fd_batch *batch) assert_dt in emit_binning_workaround() 333 emit_gmem2mem_surf(struct fd_batch *batch, in emit_gmem2mem_surf() 376 fd3_emit_tile_gmem2mem(struct fd_batch *batch, in fd3_emit_tile_gmem2mem() 504 emit_mem2gmem_surf(struct fd_batch *batch, const uint32_t bases[], in emit_mem2gmem_surf() 560 fd3_emit_tile_mem2gmem(struct fd_batch *batch, in fd3_emit_tile_mem2gmem() 727 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws() 738 patch_rbrc(struct fd_batch *batch, uint32_t val) in patch_rbrc() 750 fd3_emit_sysmem_prep(struct fd_batch *batch) assert_dt in fd3_emit_sysmem_prep() [all …]
|
D | fd3_emit.h | 96 void fd3_emit_restore(struct fd_batch *batch, 109 fd3_emit_cache_flush(struct fd_batch *batch, in fd3_emit_cache_flush()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 145 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 161 emit_gmem2mem_surf(struct fd_batch *batch, bool stencil, uint32_t base, in emit_gmem2mem_surf() 201 fd4_emit_tile_gmem2mem(struct fd_batch *batch, in fd4_emit_tile_gmem2mem() 309 emit_mem2gmem_surf(struct fd_batch *batch, const uint32_t *bases, in emit_mem2gmem_surf() 334 fd4_emit_tile_mem2gmem(struct fd_batch *batch, in fd4_emit_tile_mem2gmem() 520 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws() 532 fd4_emit_sysmem_prep(struct fd_batch *batch) assert_dt in fd4_emit_sysmem_prep() 566 update_vsc_pipe(struct fd_batch *batch) assert_dt in update_vsc_pipe() 604 emit_binning_pass(struct fd_batch *batch) assert_dt in emit_binning_pass() 668 fd4_emit_tile_init(struct fd_batch *batch) assert_dt in fd4_emit_tile_init() [all …]
|
D | fd4_query.c | 48 occlusion_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in occlusion_get_sample() 117 struct fd_batch *batch = fd_context_batch_locked(ctx); in time_elapsed_enable() 126 time_elapsed_get_sample(struct fd_batch *batch, in time_elapsed_get_sample()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_gmem.c | 64 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 88 emit_gmem2mem_surf(struct fd_batch *batch, uint32_t base, in emit_gmem2mem_surf() 136 prepare_tile_fini_ib(struct fd_batch *batch) assert_dt in prepare_tile_fini_ib() 224 fd2_emit_tile_gmem2mem(struct fd_batch *batch, const struct fd_tile *tile) in fd2_emit_tile_gmem2mem() 232 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf() 280 fd2_emit_tile_mem2gmem(struct fd_batch *batch, in fd2_emit_tile_mem2gmem() 400 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws() 436 fd2_emit_sysmem_prep(struct fd_batch *batch) in fd2_emit_sysmem_prep() 486 fd2_emit_tile_init(struct fd_batch *batch) assert_dt in fd2_emit_tile_init() 671 fd2_emit_tile_prep(struct fd_batch *batch, const struct fd_tile *tile) in fd2_emit_tile_prep() [all …]
|