Home
last modified time | relevance | path

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

/external/libdrm/freedreno/
Dfreedreno_ringbuffer.h43 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);
59 uint32_t fd_ringbuffer_timestamp(struct fd_ringbuffer *ring);
61 static inline void fd_ringbuffer_emit(struct fd_ringbuffer *ring, in fd_ringbuffer_emit()
[all …]
Dfreedreno_ringbuffer.c39 struct fd_ringbuffer *
42 struct fd_ringbuffer *ring; in fd_ringbuffer_new()
58 void fd_ringbuffer_del(struct fd_ringbuffer *ring) in fd_ringbuffer_del()
67 void fd_ringbuffer_set_parent(struct fd_ringbuffer *ring, in fd_ringbuffer_set_parent()
68 struct fd_ringbuffer *parent) in fd_ringbuffer_set_parent()
73 void fd_ringbuffer_reset(struct fd_ringbuffer *ring) in fd_ringbuffer_reset()
84 int fd_ringbuffer_flush(struct fd_ringbuffer *ring) in fd_ringbuffer_flush()
89 uint32_t fd_ringbuffer_timestamp(struct fd_ringbuffer *ring) in fd_ringbuffer_timestamp()
94 void fd_ringbuffer_reloc(struct fd_ringbuffer *ring, in fd_ringbuffer_reloc()
101 fd_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring, in fd_ringbuffer_emit_reloc_ring()
[all …]
Dfreedreno_priv.h101 struct fd_ringbuffer * (*ringbuffer_new)(struct fd_pipe *pipe, uint32_t size);
114 struct fd_ringbuffer *ring;
119 void * (*hostptr)(struct fd_ringbuffer *ring);
120 int (*flush)(struct fd_ringbuffer *ring, uint32_t *last_start);
121 void (*reset)(struct fd_ringbuffer *ring);
122 void (*emit_reloc)(struct fd_ringbuffer *ring,
124 void (*emit_reloc_ring)(struct fd_ringbuffer *ring,
126 void (*destroy)(struct fd_ringbuffer *ring);
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c40 struct fd_ringbuffer base;
63 struct fd_ringbuffer **rings;
86 static inline struct msm_ringbuffer * to_msm_ringbuffer(struct fd_ringbuffer *x) in to_msm_ringbuffer()
91 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo()
109 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx()
139 static int check_cmd_bo(struct fd_ringbuffer *ring, in check_cmd_bo()
151 static struct drm_msm_gem_submit_cmd * get_cmd(struct fd_ringbuffer *ring, in get_cmd()
152 struct fd_ringbuffer *target_ring, struct fd_bo *target_bo, in get_cmd()
186 static void * msm_ringbuffer_hostptr(struct fd_ringbuffer *ring) in msm_ringbuffer_hostptr()
207 static void flush_reset(struct fd_ringbuffer *ring) in flush_reset()
[all …]
Dmsm_priv.h67 drm_private struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe,
85 struct fd_ringbuffer *current_ring;
/external/libdrm/freedreno/kgsl/
Dkgsl_ringbuffer.c51 struct fd_ringbuffer base;
55 static inline struct kgsl_ringbuffer * to_kgsl_ringbuffer(struct fd_ringbuffer *x) in to_kgsl_ringbuffer()
110 static void * kgsl_ringbuffer_hostptr(struct fd_ringbuffer *ring) in kgsl_ringbuffer_hostptr()
116 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 void kgsl_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring, in kgsl_ringbuffer_emit_reloc_ring()
184 static void kgsl_ringbuffer_destroy(struct fd_ringbuffer *ring) in kgsl_ringbuffer_destroy()
202 drm_private struct fd_ringbuffer * kgsl_ringbuffer_new(struct fd_pipe *pipe, in kgsl_ringbuffer_new()
206 struct fd_ringbuffer *ring = NULL; in kgsl_ringbuffer_new()
Dkgsl_priv.h108 drm_private struct fd_ringbuffer * kgsl_ringbuffer_new(struct fd_pipe *pipe,