Home
last modified time | relevance | path

Searched refs:nr_cmds (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/freedreno/drm/msm/
Dmsm_ringbuffer_sp.c47 unsigned nr_cmds = 0; in flush_submit_list() local
54 nr_cmds += to_fd_ringbuffer_sp(submit->primary)->u.nr_cmds; in flush_submit_list()
57 struct drm_msm_gem_submit_cmd cmds[nr_cmds]; in flush_submit_list()
68 for (unsigned i = 0; i < deferred_primary->u.nr_cmds; i++) { in flush_submit_list()
143 req.nr_cmds = nr_cmds; in flush_submit_list()
145 DEBUG_MSG("nr_cmds=%u, nr_bos=%u", req.nr_cmds, req.nr_bos); in flush_submit_list()
Dmsm_ringbuffer.c283 unsigned nr_cmds = 0; in msm_submit_flush() local
289 nr_cmds += 1; in msm_submit_flush()
294 nr_cmds += to_msm_ringbuffer(ring)->u.nr_cmds; in msm_submit_flush()
299 struct drm_msm_gem_submit_cmd cmds[nr_cmds]; in msm_submit_flush()
306 assert(i < nr_cmds); in msm_submit_flush()
326 for (unsigned j = 0; j < msm_ring->u.nr_cmds; j++) { in msm_submit_flush()
363 req.cmds = VOID2U64(cmds), req.nr_cmds = nr_cmds; in msm_submit_flush()
365 DEBUG_MSG("nr_cmds=%u, nr_bos=%u", req.nr_cmds, req.nr_bos); in msm_submit_flush()
557 (cmd_idx < msm_target->u.nr_cmds)) { in msm_ringbuffer_emit_reloc_ring()
595 return to_msm_ringbuffer(ring)->u.nr_cmds + 1; in msm_ringbuffer_cmd_count()
[all …]
Dmsm_priv.h93 for (unsigned i = 0; i < req->nr_cmds; i++) { in msm_dump_submit()
/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_ringbuffer.c57 unsigned nr_cmds = 0; in flush_submit_list() local
64 nr_cmds += to_fd_ringbuffer_sp(submit->primary)->u.nr_cmds; in flush_submit_list()
72 struct drm_msm_gem_submit_cmd cmds[nr_cmds]; in flush_submit_list()
83 for (unsigned i = 0; i < deferred_primary->u.nr_cmds; i++) { in flush_submit_list()
158 unsigned cmd_len = nr_cmds * sizeof(struct drm_msm_gem_submit_cmd); in flush_submit_list()
166 req->nr_cmds = nr_cmds; in flush_submit_list()
Dvirtio_ringbuffer.h89 (cmd_idx < virtio_target->u.nr_cmds)) { in X()
Dmsm_proto.h245 uint32_t nr_cmds; member
/third_party/libdrm/freedreno/msm/
Dmsm_ringbuffer.c343 for (i = 0; i < msm_ring->nr_cmds; i++) { in flush_reset()
353 msm_ring->submit.nr_cmds = 0; in flush_reset()
355 msm_ring->nr_cmds = 0; in flush_reset()
403 for (i = 0; i < msm_ring->submit.nr_cmds; i++) { in dump_submit()
443 for (i = 0; i < msm_ring->nr_cmds; i++) { in handle_stateobj_relocs()
486 for (i = 0; i < msm_ring->submit.nr_cmds; i++) { in msm_ringbuffer_flush()
512 req.nr_cmds = msm_ring->submit.nr_cmds; in msm_ringbuffer_flush()
514 DEBUG_MSG("nr_cmds=%u, nr_bos=%u", req.nr_cmds, req.nr_bos); in msm_ringbuffer_flush()
523 for (i = 0; i < msm_ring->submit.nr_cmds; i++) { in msm_ringbuffer_flush()
534 for (i = 0; i < msm_ring->submit.nr_cmds; i++) { in msm_ringbuffer_flush()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer_sp.c183 for (unsigned i = 0; i < primary->u.nr_cmds; i++) in fd_submit_sp_flush_prep()
500 return to_fd_ringbuffer_sp(ring)->u.nr_cmds + 1; in fd_ringbuffer_sp_cmd_count()
535 for (unsigned i = 0; i < fd_ring->u.nr_cmds; i++) { in fd_ringbuffer_sp_destroy()
611 fd_ring->u.nr_cmds = fd_ring->u.max_cmds = 0; in fd_ringbuffer_sp_init()
Dfreedreno_ringbuffer_sp_reloc.h85 (cmd_idx < fd_target->u.nr_cmds)) { in X()
/third_party/libdrm/include/drm/
Dmsm_drm.h220 __u32 nr_cmds; /* in, number of submit_cmd's */ member
/third_party/mesa3d/include/drm-uapi/
Dmsm_drm.h272 __u32 nr_cmds; /* in, number of submit_cmd's */ member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c1023 .nr_cmds = submit->entry_count, in tu_queue_submit_locked()