Lines Matching refs:reloc
37 * a backing bo, and a reloc table.
45 /* reloc's table: */
59 * that is global to the submit ioctl call. The reloc's table is tracked
410 ERROR_MSG(" reloc[%d]: submit_offset=%u, or=%08x, shift=%d, reloc_idx=%u"
439 /* stateobj rb's could have reloc's to other stateobj rb's which didn't
485 /* for each of the cmd's fix up their reloc's: */
492 /* for reusable stateobjs, the reloc table has reloc_idx that
564 struct drm_msm_gem_submit_reloc *reloc;
569 reloc = &cmd->relocs[idx];
571 reloc->reloc_idx = bo2idx(parent, r->bo, r->flags);
572 reloc->reloc_offset = r->offset;
573 reloc->or = r->or;
574 reloc->shift = r->shift;
575 reloc->submit_offset = offset_bytes(ring->cur, ring->start) +
579 if (reloc->shift < 0)
580 addr >>= -reloc->shift;
582 addr <<= reloc->shift;
589 * realloc() meaning that 'reloc' ptr is no longer valid:
591 uint32_t reloc_idx = reloc->reloc_idx;