/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch.h | 52 struct fd_batch { struct 260 struct fd_batch *fd_batch_create(struct fd_context *ctx, bool nondraw); argument 262 void fd_batch_reset(struct fd_batch *batch) assert_dt; 263 void fd_batch_flush(struct fd_batch *batch) assert_dt; 264 void fd_batch_add_dep(struct fd_batch *batch, struct fd_batch *dep) assert_dt; 265 void fd_batch_resource_write(struct fd_batch *batch, 267 void fd_batch_resource_read_slowpath(struct fd_batch *batch, 269 void fd_batch_check_size(struct fd_batch *batch) assert_dt; 277 void __fd_batch_describe(char *buf, const struct fd_batch *batch) assert_dt; 278 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() 186 batch_fini(struct fd_batch *batch) in batch_fini() 225 batch_flush_dependencies(struct fd_batch *batch) assert_dt in batch_flush_dependencies() 228 struct fd_batch *dep; in batch_flush_dependencies() 239 batch_reset_dependencies(struct fd_batch *batch) in batch_reset_dependencies() 242 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; 298 struct fd_batch *batch dt; 456 void (*emit_tile_init)(struct fd_batch *batch) dt; 457 void (*emit_tile_prep)(struct fd_batch *batch, 459 void (*emit_tile_mem2gmem)(struct fd_batch *batch, 461 void (*emit_tile_renderprep)(struct fd_batch *batch, 463 void (*emit_tile)(struct fd_batch *batch, const struct fd_tile *tile) dt; 464 void (*emit_tile_gmem2mem)(struct fd_batch *batch, 466 void (*emit_tile_fini)(struct fd_batch *batch) dt; /* optional */ 469 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_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_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_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 | 50 struct fd_batch *batch = NULL; in fd_context_flush() 245 struct fd_batch *batch = fd_context_batch_locked(ctx); in fd_emit_string_marker() 279 fd_context_switch_to(struct fd_context *ctx, struct fd_batch *batch) in fd_context_switch_to() 291 struct fd_batch * 294 struct fd_batch *batch = NULL; in fd_context_batch() 318 struct fd_batch * 321 struct fd_batch *batch = NULL; in fd_context_batch_locked() 455 struct fd_batch *batch = container_of(ut, struct fd_batch, trace); in fd_trace_record_ts()
|
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() 526 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()
|
D | freedreno_autotune.h | 174 struct fd_batch; 176 struct fd_batch *batch) assert_dt;
|
D | freedreno_gmem.c | 472 gmem_key_init(struct fd_batch *batch, bool assume_zs, bool no_scis_opt) in gmem_key_init() 544 lookup_gmem_state(struct fd_batch *batch, bool assume_zs, bool no_scis_opt) in lookup_gmem_state() 593 render_tiles(struct fd_batch *batch, struct fd_gmem_stateobj *gmem) assert_dt in render_tiles() 643 render_sysmem(struct fd_batch *batch) assert_dt in render_sysmem() 669 flush_ring(struct fd_batch *batch) in flush_ring() 682 fd_gmem_render_tiles(struct fd_batch *batch) in fd_gmem_render_tiles() 788 fd_gmem_estimate_bins_per_pipe(struct fd_batch *batch) in fd_gmem_estimate_bins_per_pipe() 808 fd_gmem_needs_restore(struct fd_batch *batch, const struct fd_tile *tile, in fd_gmem_needs_restore()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_gmem.c | 245 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 257 patch_fb_read_gmem(struct fd_batch *batch) in patch_fb_read_gmem() 298 patch_fb_read_sysmem(struct fd_batch *batch) in patch_fb_read_sysmem() 348 update_render_cntl(struct fd_batch *batch, struct pipe_framebuffer_state *pfb, in update_render_cntl() 398 update_vsc_pipe(struct fd_batch *batch) in update_vsc_pipe() 478 emit_vsc_overflow_test(struct fd_batch *batch) in emit_vsc_overflow_test() 580 emit_common_init(struct fd_batch *batch) in emit_common_init() 599 emit_common_fini(struct fd_batch *batch) in emit_common_fini() 628 emit_conditional_ib(struct fd_batch *batch, const struct fd_tile *tile, in emit_conditional_ib() 683 emit_binning_pass(struct fd_batch *batch) assert_dt in emit_binning_pass() [all …]
|
D | fd6_query.c | 61 occlusion_resume(struct fd_acc_query *aq, struct fd_batch *batch) in occlusion_resume() 77 occlusion_pause(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in occlusion_pause() 165 timestamp_resume(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_resume() 179 time_elapsed_pause(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt in time_elapsed_pause() 202 timestamp_pause(struct fd_acc_query *aq, struct fd_batch *batch) in timestamp_pause() 338 struct fd_batch *batch) assert_dt in primitives_generated_resume() 354 struct fd_batch *batch) assert_dt in primitives_generated_pause() 400 struct fd_batch *batch) assert_dt in primitives_emitted_resume() 413 struct fd_batch *batch) assert_dt in primitives_emitted_pause() 474 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/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 | 262 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 285 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws() 296 update_vsc_pipe(struct fd_batch *batch) assert_dt in update_vsc_pipe() 340 emit_binning_pass(struct fd_batch *batch) assert_dt in emit_binning_pass() 395 fd5_emit_tile_init(struct fd_batch *batch) assert_dt in fd5_emit_tile_init() 455 fd5_emit_tile_prep(struct fd_batch *batch, const struct fd_tile *tile) assert_dt in fd5_emit_tile_prep() 506 emit_mem2gmem_surf(struct fd_batch *batch, uint32_t base, in emit_mem2gmem_surf() 565 fd5_emit_tile_mem2gmem(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_mem2gmem() 607 fd5_emit_tile_renderprep(struct fd_batch *batch, const struct fd_tile *tile) in fd5_emit_tile_renderprep() 627 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/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 …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 145 use_hw_binning(struct fd_batch *batch) in use_hw_binning() 169 emit_gmem2mem_surf(struct fd_batch *batch, bool stencil, uint32_t base, in emit_gmem2mem_surf() 209 fd4_emit_tile_gmem2mem(struct fd_batch *batch, in fd4_emit_tile_gmem2mem() 317 emit_mem2gmem_surf(struct fd_batch *batch, const uint32_t *bases, in emit_mem2gmem_surf() 342 fd4_emit_tile_mem2gmem(struct fd_batch *batch, in fd4_emit_tile_mem2gmem() 528 patch_draws(struct fd_batch *batch, enum pc_di_vis_cull_mode vismode) in patch_draws() 540 fd4_emit_sysmem_prep(struct fd_batch *batch) assert_dt in fd4_emit_sysmem_prep() 574 update_vsc_pipe(struct fd_batch *batch) assert_dt in update_vsc_pipe() 612 emit_binning_pass(struct fd_batch *batch) assert_dt in emit_binning_pass() 676 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 …]
|