/external/libdrm/freedreno/ |
D | freedreno_ringbuffer.h | 43 struct fd_ringbuffer { struct 49 struct fd_ringbuffer *parent; argument 52 struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe, 54 void fd_ringbuffer_del(struct fd_ringbuffer *ring); 55 void fd_ringbuffer_set_parent(struct fd_ringbuffer *ring, 56 struct fd_ringbuffer *parent); 57 void fd_ringbuffer_reset(struct fd_ringbuffer *ring); 58 int fd_ringbuffer_flush(struct fd_ringbuffer *ring); 62 int fd_ringbuffer_flush2(struct fd_ringbuffer *ring, int in_fence_fd, 64 void fd_ringbuffer_grow(struct fd_ringbuffer *ring, uint32_t ndwords); [all …]
|
D | freedreno_ringbuffer.c | 35 struct fd_ringbuffer * 38 struct fd_ringbuffer *ring; in fd_ringbuffer_new() 53 void fd_ringbuffer_del(struct fd_ringbuffer *ring) in fd_ringbuffer_del() 63 void fd_ringbuffer_set_parent(struct fd_ringbuffer *ring, in fd_ringbuffer_set_parent() 64 struct fd_ringbuffer *parent) in fd_ringbuffer_set_parent() 69 void fd_ringbuffer_reset(struct fd_ringbuffer *ring) in fd_ringbuffer_reset() 79 int fd_ringbuffer_flush(struct fd_ringbuffer *ring) in fd_ringbuffer_flush() 84 int fd_ringbuffer_flush2(struct fd_ringbuffer *ring, int in_fence_fd, in fd_ringbuffer_flush2() 90 void fd_ringbuffer_grow(struct fd_ringbuffer *ring, uint32_t ndwords) in fd_ringbuffer_grow() 106 uint32_t fd_ringbuffer_timestamp(struct fd_ringbuffer *ring) in fd_ringbuffer_timestamp() [all …]
|
D | freedreno_priv.h | 118 struct fd_ringbuffer * (*ringbuffer_new)(struct fd_pipe *pipe, uint32_t size); 132 struct fd_ringbuffer *ring; 137 void * (*hostptr)(struct fd_ringbuffer *ring); 138 int (*flush)(struct fd_ringbuffer *ring, uint32_t *last_start, 140 void (*grow)(struct fd_ringbuffer *ring, uint32_t size); 141 void (*reset)(struct fd_ringbuffer *ring); 142 void (*emit_reloc)(struct fd_ringbuffer *ring, 144 uint32_t (*emit_reloc_ring)(struct fd_ringbuffer *ring, 145 struct fd_ringbuffer *target, uint32_t cmd_idx, 147 uint32_t (*cmd_count)(struct fd_ringbuffer *ring); [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_util.h | 185 static inline void emit_marker(struct fd_ringbuffer *ring, int scratch_idx); 186 static inline void emit_marker5(struct fd_ringbuffer *ring, int scratch_idx); 189 OUT_RING(struct fd_ringbuffer *ring, uint32_t data) in OUT_RING() 200 OUT_RINGP(struct fd_ringbuffer *ring, uint32_t data, in OUT_RINGP() 218 OUT_RELOC(struct fd_ringbuffer *ring, struct fd_bo *bo, in OUT_RELOC() 237 OUT_RELOCW(struct fd_ringbuffer *ring, struct fd_bo *bo, in OUT_RELOCW() 255 static inline void BEGIN_RING(struct fd_ringbuffer *ring, uint32_t ndwords) in BEGIN_RING() 262 __gpu_id(struct fd_ringbuffer *ring) in __gpu_id() 270 OUT_PKT0(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT0() 278 OUT_PKT2(struct fd_ringbuffer *ring) in OUT_PKT2() [all …]
|
D | freedreno_batch.h | 154 struct fd_ringbuffer *draw; 156 struct fd_ringbuffer *binning; 158 struct fd_ringbuffer *gmem; 161 struct fd_ringbuffer *lrz_clear; 274 void fd_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring); 279 fd_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd_event_write()
|
D | freedreno_query_hw.h | 82 void (*enable)(struct fd_context *ctx, struct fd_ringbuffer *ring); 88 struct fd_ringbuffer *ring); 148 struct fd_ringbuffer *ring); 150 void fd_hw_query_enable(struct fd_batch *batch, struct fd_ringbuffer *ring);
|
D | freedreno_context.h | 315 void (*emit_const)(struct fd_ringbuffer *ring, enum shader_t type, 319 void (*emit_const_bo)(struct fd_ringbuffer *ring, enum shader_t type, boolean write, 323 void (*emit_ib)(struct fd_ringbuffer *ring, struct fd_ringbuffer *target); 329 struct fd_ringbuffer *ring); 336 void (*mem_to_mem)(struct fd_ringbuffer *ring, struct pipe_resource *dst,
|
D | freedreno_draw.h | 40 struct fd_ringbuffer; 45 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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.h | 38 struct fd_ringbuffer; 101 fd5_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_cache_flush() 114 fd5_set_render_mode(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_set_render_mode() 130 fd5_emit_blit(struct fd_context *ctx, struct fd_ringbuffer *ring) in fd5_emit_blit() 147 struct fd_ringbuffer *ring = binning ? ctx->batch->binning : ctx->batch->draw; in fd5_emit_render_cntl() 172 fd5_emit_lrz_flush(struct fd_ringbuffer *ring) in fd5_emit_lrz_flush() 187 void fd5_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd5_emit *emit); 189 void fd5_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 192 void fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 195 void fd5_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
|
D | fd5_gmem.c | 46 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() 134 emit_zs(struct fd_ringbuffer *ring, struct pipe_surface *zsbuf, in emit_zs() 267 struct fd_ringbuffer *ring = batch->gmem; in update_vsc_pipe() 309 struct fd_ringbuffer *ring = batch->gmem; in emit_binning_pass() 373 struct fd_ringbuffer *ring = batch->gmem; in fd5_emit_tile_init() 420 struct fd_ringbuffer *ring = batch->gmem; in fd5_emit_tile_prep() 472 struct fd_ringbuffer *ring = batch->gmem; in emit_mem2gmem_surf() 528 struct fd_ringbuffer *ring = batch->gmem; in fd5_emit_tile_mem2gmem() 572 struct fd_ringbuffer *ring = batch->gmem; in fd5_emit_tile_renderprep() 609 struct fd_ringbuffer *ring = batch->gmem; in emit_gmem2mem_surf() [all …]
|
D | fd5_program.h | 40 void fd5_emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so); 42 void fd5_program_emit(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
D | fd5_query.c | 57 struct fd_ringbuffer *ring = batch->draw; in occlusion_resume() 75 struct fd_ringbuffer *ring = batch->draw; in occlusion_pause() 163 struct fd_ringbuffer *ring = batch->draw; in timestamp_resume() 177 struct fd_ringbuffer *ring = batch->draw; in timestamp_pause()
|
D | fd5_emit.c | 53 fd5_emit_const(struct fd_ringbuffer *ring, enum shader_t type, in fd5_emit_const() 92 fd5_emit_const_bo(struct fd_ringbuffer *ring, enum shader_t type, boolean write, in fd5_emit_const_bo() 264 emit_border_color(struct fd_context *ctx, struct fd_ringbuffer *ring) in emit_border_color() 292 emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring, in emit_textures() 374 emit_ssbos(struct fd_context *ctx, struct fd_ringbuffer *ring, in emit_ssbos() 437 fd5_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd5_emit *emit) in fd5_emit_vertex_bufs() 485 fd5_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_emit_state() 796 fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_emit_cs_state() 840 fd5_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_emit_restore() 1072 fd5_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd5_emit_ib() [all …]
|
/external/libdrm/freedreno/msm/ |
D | msm_ringbuffer.c | 41 struct fd_ringbuffer *ring; 52 struct fd_ringbuffer base; 98 static inline struct msm_ringbuffer * to_msm_ringbuffer(struct fd_ringbuffer *x) in to_msm_ringbuffer() 150 static struct msm_cmd * ring_cmd_new(struct fd_ringbuffer *ring, uint32_t size) in ring_cmd_new() 190 static struct msm_cmd *current_cmd(struct fd_ringbuffer *ring) in current_cmd() 197 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo() 215 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx() 248 static int check_cmd_bo(struct fd_ringbuffer *ring, in check_cmd_bo() 258 static void get_cmd(struct fd_ringbuffer *ring, struct msm_cmd *target_cmd, in get_cmd() 289 static void * msm_ringbuffer_hostptr(struct fd_ringbuffer *ring) in msm_ringbuffer_hostptr() [all …]
|
/external/libdrm/freedreno/kgsl/ |
D | kgsl_ringbuffer.c | 47 struct fd_ringbuffer base; 51 static inline struct kgsl_ringbuffer * to_kgsl_ringbuffer(struct fd_ringbuffer *x) in to_kgsl_ringbuffer() 106 static void * kgsl_ringbuffer_hostptr(struct fd_ringbuffer *ring) in kgsl_ringbuffer_hostptr() 112 static int kgsl_ringbuffer_flush(struct fd_ringbuffer *ring, uint32_t *last_start, in kgsl_ringbuffer_flush() 162 static void kgsl_ringbuffer_emit_reloc(struct fd_ringbuffer *ring, in kgsl_ringbuffer_emit_reloc() 176 static uint32_t kgsl_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring, in kgsl_ringbuffer_emit_reloc_ring() 177 struct fd_ringbuffer *target, uint32_t cmd_idx, in kgsl_ringbuffer_emit_reloc_ring() 186 static void kgsl_ringbuffer_destroy(struct fd_ringbuffer *ring) in kgsl_ringbuffer_destroy() 204 drm_private struct fd_ringbuffer * kgsl_ringbuffer_new(struct fd_pipe *pipe, in kgsl_ringbuffer_new() 208 struct fd_ringbuffer *ring = NULL; in kgsl_ringbuffer_new()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.h | 39 struct fd_ringbuffer; 41 void fd3_emit_gmem_restore_tex(struct fd_ringbuffer *ring, 87 void fd3_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd3_emit *emit); 89 void fd3_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 92 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()
|
D | fd3_gmem.c | 47 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() 168 struct fd_ringbuffer *ring = batch->gmem; in emit_binning_workaround() 322 struct fd_ringbuffer *ring = batch->gmem; in emit_gmem2mem_surf() 359 struct fd_ringbuffer *ring = batch->gmem; in fd3_emit_tile_gmem2mem() 484 struct fd_ringbuffer *ring = batch->gmem; in emit_mem2gmem_surf() 541 struct fd_ringbuffer *ring = batch->gmem; in fd3_emit_tile_mem2gmem() 730 struct fd_ringbuffer *ring = batch->gmem; in fd3_emit_sysmem_prep() 774 struct fd_ringbuffer *ring = batch->gmem; in update_vsc_pipe() 804 struct fd_ringbuffer *ring = batch->gmem; in emit_binning_pass() 929 struct fd_ringbuffer *ring = batch->gmem; in fd3_emit_tile_init() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.h | 39 struct fd_ringbuffer; 41 void fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring, 96 void fd4_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd4_emit *emit); 98 void fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 101 void fd4_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
|
D | fd4_gmem.c | 48 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() 154 struct fd_ringbuffer *ring = batch->gmem; in emit_gmem2mem_surf() 193 struct fd_ringbuffer *ring = batch->gmem; in fd4_emit_tile_gmem2mem() 305 struct fd_ringbuffer *ring = batch->gmem; in emit_mem2gmem_surf() 331 struct fd_ringbuffer *ring = batch->gmem; in fd4_emit_tile_mem2gmem() 527 struct fd_ringbuffer *ring = batch->gmem; in fd4_emit_sysmem_prep() 564 struct fd_ringbuffer *ring = batch->gmem; in update_vsc_pipe() 602 struct fd_ringbuffer *ring = batch->gmem; in emit_binning_pass() 665 struct fd_ringbuffer *ring = batch->gmem; in fd4_emit_tile_init() 711 struct fd_ringbuffer *ring = batch->gmem; in fd4_emit_tile_prep() [all …]
|
D | fd4_query.c | 51 occlusion_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in occlusion_get_sample() 114 time_elapsed_enable(struct fd_context *ctx, struct fd_ringbuffer *ring) in time_elapsed_enable() 126 time_elapsed_get_sample(struct fd_batch *batch, struct fd_ringbuffer *ring) in time_elapsed_get_sample()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.h | 36 struct fd_ringbuffer; 43 void fd2_emit_vertex_bufs(struct fd_ringbuffer *ring, uint32_t val, 46 void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring);
|
D | fd2_emit.c | 53 emit_constants(struct fd_ringbuffer *ring, uint32_t base, in emit_constants() 123 emit_texture(struct fd_ringbuffer *ring, struct fd_context *ctx, in emit_texture() 153 emit_textures(struct fd_ringbuffer *ring, struct fd_context *ctx) in emit_textures() 170 fd2_emit_vertex_bufs(struct fd_ringbuffer *ring, uint32_t val, in fd2_emit_vertex_bufs() 189 struct fd_ringbuffer *ring = ctx->batch->draw; in fd2_emit_state() 334 fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring) in fd2_emit_restore() 461 fd2_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd2_emit_ib()
|
D | fd2_gmem.c | 68 struct fd_ringbuffer *ring = batch->gmem; in emit_gmem2mem_surf() 108 struct fd_ringbuffer *ring = batch->gmem; in fd2_emit_tile_gmem2mem() 186 struct fd_ringbuffer *ring = batch->gmem; in emit_mem2gmem_surf() 231 struct fd_ringbuffer *ring = batch->gmem; in fd2_emit_tile_mem2gmem() 342 struct fd_ringbuffer *ring = batch->gmem; in fd2_emit_tile_init() 365 struct fd_ringbuffer *ring = batch->gmem; in fd2_emit_tile_prep() 387 struct fd_ringbuffer *ring = batch->gmem; in fd2_emit_tile_renderprep()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_shader.c | 544 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in emit_user_consts() 582 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in emit_ubos() 611 struct fd_ringbuffer *ring, struct fd_shaderbuf_stateobj *sb) in emit_ssbo_sizes() 632 struct fd_ringbuffer *ring, struct fd_shaderimg_stateobj *si) in emit_image_dims() 664 struct fd_ringbuffer *ring) in emit_immediates() 688 struct fd_ringbuffer *ring) in emit_tfbos() 765 emit_common_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, in emit_common_consts() 795 ir3_emit_vs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, in ir3_emit_vs_consts() 881 ir3_emit_fs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, in ir3_emit_fs_consts() 891 ir3_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, in ir3_emit_cs_consts()
|
D | ir3_shader.h | 379 struct fd_ringbuffer; 381 void ir3_emit_vs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, 383 void ir3_emit_fs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring, 385 void ir3_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring,
|