Lines Matching refs:parent
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
71 /* Note, only in parent ringbuffer */
82 * related stuff, and *only* is tracked in the parent ringbuffer.
98 /* maps msm_cmd to drm_msm_gem_submit_cmd in parent rb. Each rb has a
101 * drm_msm_gem_submit_cmd in the parent rb which collects the state
379 struct fd_ringbuffer *parent;
381 if (ring->parent) {
382 parent = ring->parent;
385 parent = ring;
392 get_cmd(parent, current_cmd(ring), submit_offset, size, type);
418 handle_stateobj_relocs(struct fd_ringbuffer *parent, struct fd_ringbuffer *stateobj,
436 relocs[i].reloc_idx = bo2idx(parent, bo, flags);
440 * get propagated to the parent rb at _emit_reloc_ring() time (because
441 * the parent wasn't known then), so fix that up now:
452 if (get_cmd(parent, msm_cmd, cmd->submit_offset, cmd->size, cmd->type)) {
472 assert(!ring->parent);
562 struct fd_ringbuffer *parent = ring->parent ? ring->parent : ring;
571 reloc->reloc_idx = bo2idx(parent, r->bo, r->flags);
639 struct fd_ringbuffer *parent = ring->parent ? ring->parent : ring;
641 added_cmd = get_cmd(parent, cmd, submit_offset, size,