Lines Matching refs:cmds
50 /* has cmd already been added to parent rb's submit.cmds table? */
58 * Note that bos and cmds are tracked by the parent ringbuffer, since
67 DECLARE_ARRAY(struct drm_msm_gem_submit_cmd, cmds);
74 /* should have matching entries in submit.cmds: */
75 DECLARE_ARRAY(struct msm_cmd *, cmds);
80 * Note that this is different from msm_ringbuffer::cmds (which
81 * shadows msm_ringbuffer::submit::cmds for tracking submit ioctl
252 /* Ensure that submit has corresponding entry in cmds table for the
256 * the cmds table)
271 * - target cmd has never been added to submit.cmds
280 cmd = &msm_ring->submit.cmds[i];
292 i = APPEND(&msm_ring->submit, cmds);
293 APPEND(msm_ring, cmds);
294 msm_ring->cmds[i] = target_cmd;
295 cmd = &msm_ring->submit.cmds[i];
344 struct msm_cmd *msm_cmd = msm_ring->cmds[i];
404 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i];
444 struct msm_cmd *msm_cmd = msm_ring->cmds[i];
445 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i];
447 if (msm_ring->cmds[i]->ring == stateobj)
487 struct msm_cmd *msm_cmd = msm_ring->cmds[i];
503 cmd = &msm_ring->submit.cmds[i];
508 /* needs to be after get_cmd() as that could create bos/cmds table: */
511 req.cmds = VOID2U64(msm_ring->submit.cmds),
524 struct msm_cmd *msm_cmd = msm_ring->cmds[i];
535 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i];
536 struct msm_cmd *msm_cmd = msm_ring->cmds[i];
633 * done get_cmd() to add it to the cmds table). But in this case,
674 free(msm_ring->submit.cmds);
677 free(msm_ring->cmds);