Home
last modified time | relevance | path

Searched refs:fd_ringbuffer (Results 1 – 25 of 86) sorted by relevance

1234

/external/libdrm/freedreno/
Dfreedreno_ringbuffer.h64 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 …]
Dfreedreno_ringbuffer.c35 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 …]
Dfreedreno_priv.h119 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);
/external/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer.h39 struct fd_ringbuffer;
84 struct fd_ringbuffer * fd_submit_new_ringbuffer(struct fd_submit *submit,
94 struct fd_ringbuffer;
98 void (*grow)(struct fd_ringbuffer *ring, uint32_t size);
99 void (*emit_reloc)(struct fd_ringbuffer *ring,
101 uint32_t (*emit_reloc_ring)(struct fd_ringbuffer *ring,
102 struct fd_ringbuffer *target, uint32_t cmd_idx);
103 uint32_t (*cmd_count)(struct fd_ringbuffer *ring);
104 void (*destroy)(struct fd_ringbuffer *ring);
111 struct fd_ringbuffer { struct
[all …]
Dmsm_ringbuffer.c59 struct fd_ringbuffer *primary;
67 struct fd_ringbuffer *suballoc_ring;
101 struct fd_ringbuffer base;
123 FD_DEFINE_CAST(fd_ringbuffer, msm_ringbuffer);
125 static void finalize_current_cmd(struct fd_ringbuffer *ring);
126 static struct fd_ringbuffer * msm_ringbuffer_init(
173 append_ring(struct set *set, struct fd_ringbuffer *ring) in append_ring()
215 struct fd_ringbuffer *old_suballoc_ring = msm_submit->suballoc_ring; in msm_submit_suballoc_ring_bo()
223 static struct fd_ringbuffer *
300 struct fd_ringbuffer *ring = (void *)entry->key; in msm_submit_flush()
[all …]
Dmsm_ringbuffer_sp.c56 struct fd_ringbuffer *primary;
64 struct fd_ringbuffer *suballoc_ring;
78 struct fd_ringbuffer base;
100 FD_DEFINE_CAST(fd_ringbuffer, msm_ringbuffer_sp);
102 static void finalize_current_cmd(struct fd_ringbuffer *ring);
103 static struct fd_ringbuffer * msm_ringbuffer_sp_init(
180 struct fd_ringbuffer *old_suballoc_ring = msm_submit->suballoc_ring; in msm_submit_suballoc_ring_bo()
188 static struct fd_ringbuffer *
350 finalize_current_cmd(struct fd_ringbuffer *ring) in finalize_current_cmd()
362 msm_ringbuffer_sp_grow(struct fd_ringbuffer *ring, uint32_t size) in msm_ringbuffer_sp_grow()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.h39 struct fd_ringbuffer;
105 fd5_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd5_cache_flush()
118 fd5_set_render_mode(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_set_render_mode()
134 fd5_emit_blit(struct fd_context *ctx, struct fd_ringbuffer *ring) in fd5_emit_blit()
151 struct fd_ringbuffer *ring = binning ? ctx->batch->binning : ctx->batch->draw; in fd5_emit_render_cntl()
176 fd5_emit_lrz_flush(struct fd_ringbuffer *ring) in fd5_emit_lrz_flush()
191 void fd5_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd5_emit *emit);
193 void fd5_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
196 void fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
198 void fd5_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring,
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.h39 struct fd_ringbuffer;
76 struct fd_ringbuffer *stateobj;
127 fd6_emit_take_group(struct fd6_emit *emit, struct fd_ringbuffer *stateobj, in fd6_emit_take_group()
138 fd6_emit_add_group(struct fd6_emit *emit, struct fd_ringbuffer *stateobj, in fd6_emit_add_group()
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()
203 fd6_emit_lrz_flush(struct fd_ringbuffer *ring) in fd6_emit_lrz_flush()
272 bool fd6_emit_textures(struct fd_pipe *pipe, struct fd_ringbuffer *ring,
[all …]
Dfd6_program.h47 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;
71 void fd6_emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so);
73 struct fd_ringbuffer * fd6_program_interp_state(struct fd6_emit *emit);
Dfd6_const.c37 fd6_emit_const_user(struct fd_ringbuffer *ring, in fd6_emit_const_user()
76 fd6_emit_const_bo(struct fd_ringbuffer *ring, in fd6_emit_const_bo()
119 is_stateobj(struct fd_ringbuffer *ring) in is_stateobj()
125 emit_const_ptrs(struct fd_ringbuffer *ring, in emit_const_ptrs()
133 emit_tess_bos(struct fd_ringbuffer *ring, struct fd6_emit *emit, struct ir3_shader_variant *s) in emit_tess_bos()
150 emit_stage_tess_consts(struct fd_ringbuffer *ring, struct ir3_shader_variant *v, in emit_stage_tess_consts()
165 struct fd_ringbuffer *constobj = fd_submit_new_ringbuffer( in emit_tess_consts()
233 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in fd6_emit_ubos()
322 struct fd_ringbuffer *constobj = fd_submit_new_ringbuffer( in emit_user_consts()
350 struct fd_ringbuffer *dpconstobj = fd_submit_new_ringbuffer( in fd6_emit_consts()
[all …]
Dfd6_const.h33 enum pipe_shader_type stage, struct fd_ringbuffer *ring);
34 void fd6_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring,
37 struct fd_ringbuffer *ring);
40 const struct ir3_shader_variant *v, struct fd_ringbuffer *ring);
Dfd6_image.h33 void fd6_emit_image_tex(struct fd_ringbuffer *ring, const struct pipe_image_view *pimg);
34 void fd6_emit_ssbo_tex(struct fd_ringbuffer *ring, const struct pipe_shader_buffer *pbuf);
37 struct fd_ringbuffer * fd6_build_ibo_state(struct fd_context *ctx,
Dfd6_emit.c218 emit_border_color(struct fd_context *ctx, struct fd_ringbuffer *ring) in emit_border_color()
246 fd6_emit_fb_tex(struct fd_ringbuffer *state, struct fd_context *ctx) in fd6_emit_fb_tex()
283 fd6_emit_textures(struct fd_pipe *pipe, struct fd_ringbuffer *ring, in fd6_emit_textures()
341 struct fd_ringbuffer *state = in fd6_emit_textures()
388 struct fd_ringbuffer *state = in fd6_emit_textures()
479 fd6_emit_combined_textures(struct fd_ringbuffer *ring, struct fd6_emit *emit, in fd6_emit_combined_textures()
532 struct fd_ringbuffer *stateobj = in fd6_emit_combined_textures()
549 static struct fd_ringbuffer *
554 struct fd_ringbuffer *ring = fd_submit_new_ringbuffer(emit->ctx->batch->submit, in build_vbo_state()
683 static struct fd_ringbuffer *
[all …]
Dfd6_rasterizer.h39 struct fd_ringbuffer *stateobjs[2];
52 struct fd_ringbuffer * __fd6_setup_rasterizer_stateobj(struct fd_context *ctx,
55 static inline struct fd_ringbuffer *
Dfd6_query.c65 struct fd_ringbuffer *ring = batch->draw; in occlusion_resume()
81 struct fd_ringbuffer *ring = batch->draw; in occlusion_pause()
101 struct fd_ringbuffer *epilogue = fd_batch_get_epilogue(batch); in occlusion_pause()
163 struct fd_ringbuffer *ring = batch->draw; in timestamp_resume()
177 struct fd_ringbuffer *ring = batch->draw; in time_elapsed_pause()
206 record_timestamp(struct fd_ringbuffer *ring, struct fd_bo *bo, unsigned offset) in record_timestamp()
333 struct fd_ringbuffer *ring = batch->draw; in primitives_generated_resume()
349 struct fd_ringbuffer *ring = batch->draw; in primitives_generated_pause()
394 struct fd_ringbuffer *ring = batch->draw; in primitives_emitted_resume()
406 struct fd_ringbuffer *ring = batch->draw; in primitives_emitted_pause()
[all …]
Dfd6_gmem.c57 fd6_emit_flag_reference(struct fd_ringbuffer *ring, struct fd_resource *rsc, in fd6_emit_flag_reference()
73 emit_mrt(struct fd_ringbuffer *ring, struct pipe_framebuffer_state *pfb, in emit_mrt()
169 emit_zs(struct fd_ringbuffer *ring, struct pipe_surface *zsbuf, in emit_zs()
279 struct fd_ringbuffer *ring = batch->gmem; in update_render_cntl()
325 struct fd_ringbuffer *ring = batch->gmem; in update_vsc_pipe()
403 struct fd_ringbuffer *ring = batch->gmem; in emit_vsc_overflow_test()
502 struct fd_ringbuffer *target) in emit_conditional_ib()
504 struct fd_ringbuffer *ring = batch->gmem; in emit_conditional_ib()
536 set_scissor(struct fd_ringbuffer *ring, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2) in set_scissor()
548 set_bin_size(struct fd_ringbuffer *ring, uint32_t w, uint32_t h, uint32_t flag) in set_bin_size()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch.h187 struct fd_ringbuffer *draw;
189 struct fd_ringbuffer *binning;
191 struct fd_ringbuffer *gmem;
194 struct fd_ringbuffer *prologue;
197 struct fd_ringbuffer *epilogue;
199 struct fd_ringbuffer *tile_setup;
200 struct fd_ringbuffer *tile_fini;
259 struct fd_ringbuffer *tess_addrs_constobj;
336 void fd_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring);
341 fd_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring, in fd_event_write()
[all …]
Dfreedreno_query_hw.h80 void (*enable)(struct fd_context *ctx, struct fd_ringbuffer *ring);
86 struct fd_ringbuffer *ring);
146 struct fd_ringbuffer *ring);
148 void fd_hw_query_enable(struct fd_batch *batch, struct fd_ringbuffer *ring);
Dfreedreno_util.h206 static inline void emit_marker(struct fd_ringbuffer *ring, int scratch_idx);
210 OUT_RINGP(struct fd_ringbuffer *ring, uint32_t data, in OUT_RINGP()
224 __OUT_IB(struct fd_ringbuffer *ring, bool prefetch, struct fd_ringbuffer *target) in __OUT_IB()
252 __OUT_IB5(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in __OUT_IB5()
275 emit_marker(struct fd_ringbuffer *ring, int scratch_idx) in emit_marker()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.h37 struct fd_ringbuffer;
39 void fd3_emit_gmem_restore_tex(struct fd_ringbuffer *ring,
88 void fd3_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd3_emit *emit);
90 void fd3_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
93 void fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
99 fd3_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd3_emit_ib()
105 fd3_emit_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring) in fd3_emit_cache_flush()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.h37 struct fd_ringbuffer;
39 void fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring,
97 void fd4_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd4_emit *emit);
99 void fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
102 void fd4_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
108 fd4_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd4_emit_ib()
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c42 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 …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.h34 struct fd_ringbuffer;
41 void fd2_emit_vertex_bufs(struct fd_ringbuffer *ring, uint32_t val,
45 void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring);
51 fd2_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target) in fd2_emit_ib()
/external/libdrm/freedreno/kgsl/
Dkgsl_ringbuffer.c48 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()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_const.h40 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 static void emit_const_prsc(struct fd_ringbuffer *ring, in emit_const_prsc()
60 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) in ring_wfi()
116 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in ir3_emit_user_consts()
162 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) in ir3_emit_ubos()
212 struct fd_ringbuffer *ring, struct fd_shaderbuf_stateobj *sb) in ir3_emit_ssbo_sizes()
[all …]

1234