Lines Matching refs:relocs
78 DECLARE_ARRAY(struct drm_msm_gem_submit_reloc, relocs);
88 cmd->relocs = NULL; in cmd_new()
96 free(cmd->relocs); in cmd_free()
264 struct drm_msm_gem_submit_reloc *relocs; in handle_stateobj_relocs() local
266 relocs = malloc(cmd->nr_relocs * sizeof(*relocs)); in handle_stateobj_relocs()
269 unsigned idx = cmd->relocs[i].reloc_idx; in handle_stateobj_relocs()
272 relocs[i] = cmd->relocs[i]; in handle_stateobj_relocs()
273 relocs[i].reloc_idx = append_bo(submit, bo); in handle_stateobj_relocs()
276 return relocs; in handle_stateobj_relocs()
326 void *relocs = handle_stateobj_relocs(msm_submit, msm_ring); in msm_submit_flush() local
327 obj_relocs[o++] = relocs; in msm_submit_flush()
336 cmds[i].relocs = VOID2U64(relocs); in msm_submit_flush()
352 cmds[i].relocs = VOID2U64(msm_ring->u.cmds[j]->relocs); in msm_submit_flush()
524 unsigned idx = APPEND(msm_ring->cmd, relocs); in msm_ringbuffer_emit_reloc()
526 r = &msm_ring->cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()
538 idx = APPEND(msm_ring->cmd, relocs); in msm_ringbuffer_emit_reloc()
539 r = &msm_ring->cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()