Home
last modified time | relevance | path

Searched refs:cmd_idx (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/freedreno/drm/msm/
Dmsm_ringbuffer_sp.c59 unsigned cmd_idx = 0; in flush_submit_list() local
69 cmds[cmd_idx].type = MSM_SUBMIT_CMD_BUF; in flush_submit_list()
70 cmds[cmd_idx].submit_idx = in flush_submit_list()
72 cmds[cmd_idx].submit_offset = deferred_primary->offset; in flush_submit_list()
73 cmds[cmd_idx].size = deferred_primary->u.cmds[i].size; in flush_submit_list()
74 cmds[cmd_idx].pad = 0; in flush_submit_list()
75 cmds[cmd_idx].nr_relocs = 0; in flush_submit_list()
77 cmd_idx++; in flush_submit_list()
84 DEBUG_MSG("merged %u submits", cmd_idx); in flush_submit_list()
Dmsm_ringbuffer.c549 struct fd_ringbuffer *target, uint32_t cmd_idx) in msm_ringbuffer_emit_reloc_ring() argument
557 (cmd_idx < msm_target->u.nr_cmds)) { in msm_ringbuffer_emit_reloc_ring()
558 bo = msm_target->u.cmds[cmd_idx]->ring_bo; in msm_ringbuffer_emit_reloc_ring()
559 size = msm_target->u.cmds[cmd_idx]->size; in msm_ringbuffer_emit_reloc_ring()
/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_ringbuffer.c74 unsigned cmd_idx = 0; in flush_submit_list() local
84 cmds[cmd_idx].type = MSM_SUBMIT_CMD_BUF; in flush_submit_list()
85 cmds[cmd_idx].submit_idx = in flush_submit_list()
87 cmds[cmd_idx].submit_offset = deferred_primary->offset; in flush_submit_list()
88 cmds[cmd_idx].size = deferred_primary->u.cmds[i].size; in flush_submit_list()
89 cmds[cmd_idx].pad = 0; in flush_submit_list()
90 cmds[cmd_idx].nr_relocs = 0; in flush_submit_list()
92 cmd_idx++; in flush_submit_list()
99 DEBUG_MSG("merged %u submits", cmd_idx); in flush_submit_list()
Dvirtio_ringbuffer.h82 struct fd_ringbuffer *ring, struct fd_ringbuffer *target, uint32_t cmd_idx) in X()
89 (cmd_idx < virtio_target->u.nr_cmds)) { in X()
90 bo = virtio_target->u.cmds[cmd_idx].ring_bo; in X()
91 size = virtio_target->u.cmds[cmd_idx].size; in X()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer_sp_reloc.h78 struct fd_ringbuffer *ring, struct fd_ringbuffer *target, uint32_t cmd_idx) in X()
85 (cmd_idx < fd_target->u.nr_cmds)) { in X()
86 bo = fd_target->u.cmds[cmd_idx].ring_bo; in X()
87 size = fd_target->u.cmds[cmd_idx].size; in X()
Dfreedreno_ringbuffer.h131 struct fd_ringbuffer *target, uint32_t cmd_idx);
236 uint32_t cmd_idx) in fd_ringbuffer_emit_reloc_ring_full() argument
238 return ring->funcs->emit_reloc_ring(ring, target, cmd_idx); in fd_ringbuffer_emit_reloc_ring_full()
/third_party/libdrm/freedreno/
Dfreedreno_ringbuffer.c167 struct fd_ringbuffer *target, uint32_t cmd_idx) in fd_ringbuffer_emit_reloc_ring_full() argument
169 return ring->funcs->emit_reloc_ring(ring, target, cmd_idx); in fd_ringbuffer_emit_reloc_ring_full()
Dfreedreno_ringbuffer.h139 struct fd_ringbuffer *target, uint32_t cmd_idx);
Dfreedreno_priv.h143 struct fd_ringbuffer *target, uint32_t cmd_idx);
/third_party/libdrm/freedreno/kgsl/
Dkgsl_ringbuffer.c178 struct fd_ringbuffer *target, uint32_t cmd_idx) in kgsl_ringbuffer_emit_reloc_ring() argument
181 assert(cmd_idx == 0); in kgsl_ringbuffer_emit_reloc_ring()
/third_party/libdrm/freedreno/msm/
Dmsm_ringbuffer.c614 struct fd_ringbuffer *target, uint32_t cmd_idx) in msm_ringbuffer_emit_reloc_ring() argument
624 if (idx == cmd_idx) in msm_ringbuffer_emit_reloc_ring()
629 assert(cmd && (idx == cmd_idx)); in msm_ringbuffer_emit_reloc_ring()