Lines Matching refs:relocs
46 DECLARE_ARRAY(struct drm_msm_gem_submit_reloc, relocs);
132 free(cmd->relocs); in ring_cmd_del()
405 struct drm_msm_gem_submit_reloc *relocs = U642VOID(cmd->relocs); in dump_submit() local
409 struct drm_msm_gem_submit_reloc *r = &relocs[j]; in dump_submit()
422 struct drm_msm_gem_submit_reloc *relocs = malloc(nr_relocs * sizeof(*relocs)); in handle_stateobj_relocs() local
435 relocs[i] = orig_relocs[i]; in handle_stateobj_relocs()
436 relocs[i].reloc_idx = bo2idx(parent, bo, flags); in handle_stateobj_relocs()
457 return relocs; in handle_stateobj_relocs()
488 struct drm_msm_gem_submit_reloc *relocs = msm_cmd->relocs; in msm_ringbuffer_flush() local
499 relocs = handle_stateobj_relocs(ring, msm_cmd->ring, in msm_ringbuffer_flush()
500 relocs, nr_relocs); in msm_ringbuffer_flush()
504 cmd->relocs = VOID2U64(relocs); in msm_ringbuffer_flush()
538 free(U642VOID(cmd->relocs)); in msm_ringbuffer_flush()
566 uint32_t idx = APPEND(cmd, relocs); in msm_ringbuffer_emit_reloc()
569 reloc = &cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()
593 idx = APPEND(cmd, relocs); in msm_ringbuffer_emit_reloc()
595 reloc_hi = &cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()