/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch.h | 72 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 …]
|
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() 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 …]
|
D | freedreno_context.h | 255 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 …]
|
D | freedreno_batch_cache.c | 137 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 …]
|
D | freedreno_query_hw.h | 85 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);
|
D | freedreno_batch_cache.h | 33 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,
|
D | freedreno_query_acc.h | 67 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);
|
D | freedreno_gmem.h | 88 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,
|
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() 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 …]
|
D | freedreno_log.h | 29 struct fd_batch; 33 void fd_log_flush(struct fd_batch *batch); 34 void _fd_log(struct fd_batch *batch, const char *fmt, ...)
|
D | freedreno_resource.h | 73 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()
|
D | freedreno_fence.h | 51 struct fd_batch; 52 struct pipe_fence_handle * fd_fence_create(struct fd_batch *batch);
|
D | freedreno_fence.c | 42 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()
|
D | freedreno_draw.c | 46 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()
|
D | freedreno_log.c | 77 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/ |
D | fd6_gmem.c | 253 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 …]
|
D | fd6_query.c | 63 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 …]
|
D | fd6_emit.h | 145 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/ |
D | fd5_gmem.c | 233 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 …]
|
D | fd5_query.c | 61 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/ |
D | fd4_gmem.c | 131 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 …]
|
D | fd4_query.c | 49 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/ |
D | fd3_gmem.c | 128 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 …]
|
D | fd3_emit.h | 93 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/ |
D | fd2_gmem.c | 63 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 …]
|