Searched refs:target_cmd (Results 1 – 1 of 1) sorted by relevance
258 static int get_cmd(struct fd_ringbuffer *ring, struct msm_cmd *target_cmd, in get_cmd() argument276 if (target_cmd->is_appended_to_submit && in get_cmd()277 !(target_cmd->ring->flags & FD_RINGBUFFER_STREAMING) && in get_cmd()278 !drmHashLookup(msm_ring->cmd_table, (unsigned long)target_cmd, &val)) { in get_cmd()286 target_cmd->ring_bo->handle); in get_cmd()294 msm_ring->cmds[i] = target_cmd; in get_cmd()297 cmd->submit_idx = bo2idx(ring, target_cmd->ring_bo, FD_RELOC_READ); in get_cmd()302 target_cmd->is_appended_to_submit = TRUE; in get_cmd()304 if (!(target_cmd->ring->flags & FD_RINGBUFFER_STREAMING)) { in get_cmd()305 drmHashInsert(msm_ring->cmd_table, (unsigned long)target_cmd, in get_cmd()[all …]