/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_ringbuffer.h | 45 struct fd_ringbuffer; 92 struct fd_ringbuffer *fd_submit_new_ringbuffer(struct fd_submit *submit, 124 struct fd_ringbuffer; 128 void (*grow)(struct fd_ringbuffer *ring, uint32_t size); 129 void (*emit_reloc)(struct fd_ringbuffer *ring, const struct fd_reloc *reloc); 130 uint32_t (*emit_reloc_ring)(struct fd_ringbuffer *ring, 131 struct fd_ringbuffer *target, uint32_t cmd_idx); 132 uint32_t (*cmd_count)(struct fd_ringbuffer *ring); 133 bool (*check_size)(struct fd_ringbuffer *ring); 134 void (*destroy)(struct fd_ringbuffer *ring); [all …]
|
D | freedreno_ringbuffer_sp.h | 64 struct fd_ringbuffer *suballoc_ring; 97 struct fd_ringbuffer base; 119 FD_DEFINE_CAST(fd_ringbuffer, fd_ringbuffer_sp); 127 struct fd_ringbuffer *fd_ringbuffer_sp_new_object(struct fd_pipe *pipe, uint32_t size);
|
D | freedreno_ringbuffer_sp_reloc.h | 34 static void X(emit_reloc_common)(struct fd_ringbuffer *ring, in X() 43 static void X(fd_ringbuffer_sp_emit_reloc_nonobj)(struct fd_ringbuffer *ring, in X() 57 static void X(fd_ringbuffer_sp_emit_reloc_obj)(struct fd_ringbuffer *ring, in X() 78 struct fd_ringbuffer *ring, struct fd_ringbuffer *target, uint32_t cmd_idx) in X()
|
D | freedreno_ringbuffer_sp.c | 53 static void finalize_current_cmd(struct fd_ringbuffer *ring); 54 static struct fd_ringbuffer * 122 struct fd_ringbuffer *old_suballoc_ring = fd_submit->suballoc_ring; in fd_submit_suballoc_ring_bo() 130 static struct fd_ringbuffer * 446 finalize_current_cmd(struct fd_ringbuffer *ring) in finalize_current_cmd() 459 fd_ringbuffer_sp_grow(struct fd_ringbuffer *ring, uint32_t size) in fd_ringbuffer_sp_grow() 478 fd_ringbuffer_references_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in fd_ringbuffer_references_bo() 497 fd_ringbuffer_sp_cmd_count(struct fd_ringbuffer *ring) in fd_ringbuffer_sp_cmd_count() 505 fd_ringbuffer_sp_check_size(struct fd_ringbuffer *ring) in fd_ringbuffer_sp_check_size() 519 fd_ringbuffer_sp_destroy(struct fd_ringbuffer *ring) in fd_ringbuffer_sp_destroy() [all …]
|
/third_party/libdrm/freedreno/ |
D | freedreno_ringbuffer.h | 64 struct fd_ringbuffer { struct 70 struct fd_ringbuffer *parent; argument 93 struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe, argument 96 struct fd_ringbuffer * fd_ringbuffer_new_object(struct fd_pipe *pipe, 98 struct fd_ringbuffer * fd_ringbuffer_new_flags(struct fd_pipe *pipe, 101 struct fd_ringbuffer *fd_ringbuffer_ref(struct fd_ringbuffer *ring); 102 void fd_ringbuffer_del(struct fd_ringbuffer *ring); 103 void fd_ringbuffer_set_parent(struct fd_ringbuffer *ring, 104 struct fd_ringbuffer *parent); 106 void fd_ringbuffer_reset(struct fd_ringbuffer *ring); [all …]
|
D | freedreno_ringbuffer.c | 35 drm_public struct fd_ringbuffer * 39 struct fd_ringbuffer *ring; in fd_ringbuffer_new_flags() 62 drm_public struct fd_ringbuffer * 68 drm_public struct fd_ringbuffer * 74 drm_public void fd_ringbuffer_del(struct fd_ringbuffer *ring) in fd_ringbuffer_del() 83 drm_public struct fd_ringbuffer * 84 fd_ringbuffer_ref(struct fd_ringbuffer *ring) in fd_ringbuffer_ref() 95 drm_public void fd_ringbuffer_set_parent(struct fd_ringbuffer *ring, in fd_ringbuffer_set_parent() 96 struct fd_ringbuffer *parent) in fd_ringbuffer_set_parent() 103 drm_public void fd_ringbuffer_reset(struct fd_ringbuffer *ring) in fd_ringbuffer_reset() [all …]
|
D | freedreno_priv.h | 119 struct fd_ringbuffer * (*ringbuffer_new)(struct fd_pipe *pipe, uint32_t size, 135 void * (*hostptr)(struct fd_ringbuffer *ring); 136 int (*flush)(struct fd_ringbuffer *ring, uint32_t *last_start, 138 void (*grow)(struct fd_ringbuffer *ring, uint32_t size); 139 void (*reset)(struct fd_ringbuffer *ring); 140 void (*emit_reloc)(struct fd_ringbuffer *ring, 142 uint32_t (*emit_reloc_ring)(struct fd_ringbuffer *ring, 143 struct fd_ringbuffer *target, uint32_t cmd_idx); 144 uint32_t (*cmd_count)(struct fd_ringbuffer *ring); 145 void (*destroy)(struct fd_ringbuffer *ring);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.h | 40 struct fd_ringbuffer; 112 fd5_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) assert_dt in fd5_cache_flush() 125 fd5_set_render_mode(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_set_render_mode() 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() 164 struct fd_ringbuffer *ring = in fd5_emit_render_cntl() 190 fd5_emit_lrz_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_emit_lrz_flush() 204 void fd5_emit_vertex_bufs(struct fd_ringbuffer *ring, 207 void fd5_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 210 void fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.h | 39 struct fd_ringbuffer; 79 struct fd_ringbuffer *stateobj; 133 fd6_emit_take_group(struct fd6_emit *emit, struct fd_ringbuffer *stateobj, in fd6_emit_take_group() 144 fd6_emit_add_group(struct fd6_emit *emit, struct fd_ringbuffer *stateobj, in fd6_emit_add_group() 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() 212 fd6_emit_lrz_flush(struct fd_ringbuffer *ring) in fd6_emit_lrz_flush() 281 bool fd6_emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring, [all …]
|
D | fd6_program.h | 47 struct fd_ringbuffer *config_stateobj; 48 struct fd_ringbuffer *interp_stateobj; 49 struct fd_ringbuffer *binning_stateobj; 50 struct fd_ringbuffer *streamout_stateobj; 51 struct fd_ringbuffer *stateobj; 80 void fd6_emit_shader(struct fd_context *ctx, struct fd_ringbuffer *ring, 83 struct fd_ringbuffer *fd6_program_interp_state(struct fd6_emit *emit) assert_dt;
|
D | fd6_const.h | 30 struct fd_ringbuffer *fd6_build_tess_consts(struct fd6_emit *emit) assert_dt; 31 struct fd_ringbuffer *fd6_build_user_consts(struct fd6_emit *emit) assert_dt; 32 struct fd_ringbuffer * 36 struct fd_ringbuffer *ring, struct fd_context *ctx, 40 struct fd_ringbuffer *ring) assert_dt; 44 struct fd_ringbuffer *ring) assert_dt;
|
D | fd6_const.c | 37 fd6_emit_const_user(struct fd_ringbuffer *ring, in fd6_emit_const_user() 68 fd6_emit_const_bo(struct fd_ringbuffer *ring, in fd6_emit_const_bo() 97 is_stateobj(struct fd_ringbuffer *ring) in is_stateobj() 103 emit_const_ptrs(struct fd_ringbuffer *ring, const struct ir3_shader_variant *v, in emit_const_ptrs() 111 emit_stage_tess_consts(struct fd_ringbuffer *ring, struct ir3_shader_variant *v, in emit_stage_tess_consts() 121 struct fd_ringbuffer * 126 struct fd_ringbuffer *constobj = fd_submit_new_ringbuffer( in fd6_build_tess_consts() 189 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in fd6_emit_ubos() 262 struct fd_ringbuffer * 281 struct fd_ringbuffer *constobj = in fd6_build_user_consts() [all …]
|
D | fd6_emit.c | 221 emit_border_color(struct fd_context *ctx, struct fd_ringbuffer *ring) assert_dt in emit_border_color() 248 fd6_emit_fb_tex(struct fd_ringbuffer *state, struct fd_context *ctx) assert_dt in fd6_emit_fb_tex() 274 fd6_emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd6_emit_textures() 332 struct fd_ringbuffer *state = in fd6_emit_textures() 380 struct fd_ringbuffer *state = in fd6_emit_textures() 481 fd6_emit_combined_textures(struct fd_ringbuffer *ring, struct fd6_emit *emit, in fd6_emit_combined_textures() 537 struct fd_ringbuffer *stateobj = fd_submit_new_ringbuffer( in fd6_emit_combined_textures() 552 static struct fd_ringbuffer * 565 struct fd_ringbuffer *ring = fd_submit_new_ringbuffer( in build_vbo_state() 698 static struct fd_ringbuffer * [all …]
|
D | fd6_image.h | 33 void fd6_emit_image_tex(struct fd_context *ctx, struct fd_ringbuffer *ring, 35 void fd6_emit_ssbo_tex(struct fd_context *ctx, struct fd_ringbuffer *ring, 39 struct fd_ringbuffer *
|
D | fd6_image.c | 41 fd6_emit_single_plane_descriptor(struct fd_ringbuffer *ring, in fd6_emit_single_plane_descriptor() 79 fd6_emit_image_descriptor(struct fd_context *ctx, struct fd_ringbuffer *ring, const struct pipe_ima… in fd6_emit_image_descriptor() 133 fd6_emit_image_tex(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd6_emit_image_tex() 140 fd6_emit_ssbo_tex(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd6_emit_ssbo_tex() 149 struct fd_ringbuffer * 156 struct fd_ringbuffer *state = fd_submit_new_ringbuffer( in fd6_build_ibo_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.h | 37 struct fd_ringbuffer; 39 void fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring, unsigned nr_bufs, 98 void fd4_emit_vertex_bufs(struct fd_ringbuffer *ring, 101 void fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 104 void fd4_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 107 struct fd_ringbuffer *ring, struct fd_context *ctx, 111 struct fd_ringbuffer *ring) assert_dt; 117 fd4_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd4_emit_ib()
|
/third_party/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, 90 void fd3_emit_vertex_bufs(struct fd_ringbuffer *ring, 93 void fd3_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 97 struct fd_ringbuffer *ring) assert_dt; 103 fd3_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd3_emit_ib() 110 struct fd_ringbuffer *ring) assert_dt in fd3_emit_cache_flush()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch.h | 200 struct fd_ringbuffer *draw; 202 struct fd_ringbuffer *binning; 204 struct fd_ringbuffer *gmem; 207 struct fd_ringbuffer *prologue; 210 struct fd_ringbuffer *epilogue; 212 struct fd_ringbuffer *tile_setup; 213 struct fd_ringbuffer *tile_fini; 386 void fd_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring) assert_dt; 391 fd_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd_event_write() 400 static inline struct fd_ringbuffer * [all …]
|
D | freedreno_query_hw.h | 79 void (*enable)(struct fd_context *ctx, struct fd_ringbuffer *ring) dt; 85 struct fd_ringbuffer *ring)dt; 143 struct fd_ringbuffer *ring) assert_dt; 146 struct fd_ringbuffer *ring) assert_dt;
|
/third_party/libdrm/freedreno/msm/ |
D | msm_ringbuffer.c | 42 struct fd_ringbuffer *ring; 55 struct fd_ringbuffer base; 111 static inline struct msm_ringbuffer * to_msm_ringbuffer(struct fd_ringbuffer *x) in to_msm_ringbuffer() 120 static struct msm_cmd *current_cmd(struct fd_ringbuffer *ring) in current_cmd() 136 static struct msm_cmd * ring_cmd_new(struct fd_ringbuffer *ring, uint32_t size, in ring_cmd_new() 201 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo() 219 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx() 258 static int get_cmd(struct fd_ringbuffer *ring, struct msm_cmd *target_cmd, in get_cmd() 314 static void * msm_ringbuffer_hostptr(struct fd_ringbuffer *ring) in msm_ringbuffer_hostptr() 330 static void flush_reset(struct fd_ringbuffer *ring) in flush_reset() [all …]
|
/third_party/mesa3d/src/freedreno/drm/msm/ |
D | msm_ringbuffer.c | 63 struct fd_ringbuffer *suballoc_ring; 97 struct fd_ringbuffer base; 119 FD_DEFINE_CAST(fd_ringbuffer, msm_ringbuffer); 121 static void finalize_current_cmd(struct fd_ringbuffer *ring); 122 static struct fd_ringbuffer * 167 append_ring(struct set *set, struct fd_ringbuffer *ring) in append_ring() 209 struct fd_ringbuffer *old_suballoc_ring = msm_submit->suballoc_ring; in msm_submit_suballoc_ring_bo() 217 static struct fd_ringbuffer * 287 struct fd_ringbuffer *ring = (void *)entry->key; in msm_submit_flush() 303 struct fd_ringbuffer *ring = (void *)entry->key; in msm_submit_flush() [all …]
|
/third_party/libdrm/freedreno/kgsl/ |
D | kgsl_ringbuffer.c | 48 struct fd_ringbuffer base; 52 static inline struct kgsl_ringbuffer * to_kgsl_ringbuffer(struct fd_ringbuffer *x) in to_kgsl_ringbuffer() 107 static void * kgsl_ringbuffer_hostptr(struct fd_ringbuffer *ring) in kgsl_ringbuffer_hostptr() 113 static int kgsl_ringbuffer_flush(struct fd_ringbuffer *ring, uint32_t *last_start, in kgsl_ringbuffer_flush() 163 static void kgsl_ringbuffer_emit_reloc(struct fd_ringbuffer *ring, in kgsl_ringbuffer_emit_reloc() 177 static uint32_t kgsl_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring, in kgsl_ringbuffer_emit_reloc_ring() 178 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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.h | 34 struct fd_ringbuffer; 41 void fd2_emit_vertex_bufs(struct fd_ringbuffer *ring, uint32_t val, 47 void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring); 53 fd2_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd2_emit_ib()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_const.h | 40 static bool is_stateobj(struct fd_ringbuffer *ring); 42 static void emit_const_user(struct fd_ringbuffer *ring, 46 static void emit_const_bo(struct fd_ringbuffer *ring, 51 emit_const_prsc(struct fd_ringbuffer *ring, const struct ir3_shader_variant *v, in emit_const_prsc() 59 static void emit_const_ptrs(struct fd_ringbuffer *ring, 65 emit_const_asserts(struct fd_ringbuffer *ring, in emit_const_asserts() 75 ring_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring) assert_dt in ring_wfi() 116 struct fd_ringbuffer *ring) in ir3_emit_constant_data() 156 struct fd_ringbuffer *ring, in ir3_emit_user_consts() 205 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in ir3_emit_ubos() [all …]
|
/third_party/mesa3d/src/freedreno/drm/virtio/ |
D | virtio_ringbuffer.h | 38 static void X(emit_reloc_common)(struct fd_ringbuffer *ring, in X() 47 static void X(virtio_ringbuffer_emit_reloc_nonobj)(struct fd_ringbuffer *ring, in X() 61 static void X(virtio_ringbuffer_emit_reloc_obj)(struct fd_ringbuffer *ring, in X() 82 struct fd_ringbuffer *ring, struct fd_ringbuffer *target, uint32_t cmd_idx) in X()
|