Lines Matching refs:submit
68 } submit; member
206 idx = APPEND(&msm_ring->submit, bos); in append_bo()
209 msm_ring->submit.bos[idx].flags = 0; in append_bo()
210 msm_ring->submit.bos[idx].handle = bo->handle; in append_bo()
211 msm_ring->submit.bos[idx].presumed = to_msm_bo(bo)->presumed; in append_bo()
246 msm_ring->submit.bos[idx].flags |= MSM_SUBMIT_BO_READ; in bo2idx()
248 msm_ring->submit.bos[idx].flags |= MSM_SUBMIT_BO_WRITE; in bo2idx()
280 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
285 assert(msm_ring->submit.bos[cmd->submit_idx].handle == in get_cmd()
292 i = APPEND(&msm_ring->submit, cmds); in get_cmd()
295 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
353 msm_ring->submit.nr_cmds = 0; in flush_reset()
354 msm_ring->submit.nr_bos = 0; in flush_reset()
399 for (i = 0; i < msm_ring->submit.nr_bos; i++) { in dump_submit()
400 struct drm_msm_gem_submit_bo *bo = &msm_ring->submit.bos[i]; in dump_submit()
403 for (i = 0; i < msm_ring->submit.nr_cmds; i++) { in dump_submit()
404 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in dump_submit()
430 if (msm_ring->submit.bos[idx].flags & MSM_SUBMIT_BO_READ) in handle_stateobj_relocs()
432 if (msm_ring->submit.bos[idx].flags & MSM_SUBMIT_BO_WRITE) in handle_stateobj_relocs()
445 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in handle_stateobj_relocs()
486 for (i = 0; i < msm_ring->submit.nr_cmds; i++) { in msm_ringbuffer_flush()
503 cmd = &msm_ring->submit.cmds[i]; in msm_ringbuffer_flush()
509 req.bos = VOID2U64(msm_ring->submit.bos), in msm_ringbuffer_flush()
510 req.nr_bos = msm_ring->submit.nr_bos; in msm_ringbuffer_flush()
511 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush()
512 req.nr_cmds = msm_ring->submit.nr_cmds; 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()
535 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in msm_ringbuffer_flush()
674 free(msm_ring->submit.cmds); in msm_ringbuffer_destroy()
675 free(msm_ring->submit.bos); in msm_ringbuffer_destroy()