Lines Matching refs:reloc

147  *      reloc.presumed_offset which in turn must match the corresponding
978 relocation_target(const struct drm_i915_gem_relocation_entry *reloc,
981 return gen8_canonical_addr((int)reloc->delta + target->node.start);
1181 if (err) /* no inactive aperture space, use cpu reloc */
1533 const struct drm_i915_gem_relocation_entry *reloc,
1537 u64 target_addr = relocation_target(reloc, target);
1538 u64 offset = reloc->offset;
1573 const struct drm_i915_gem_relocation_entry *reloc)
1580 target = eb_get_vma(eb, reloc->target_handle);
1585 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) {
1586 drm_dbg(&i915->drm, "reloc with multiple write domains: "
1589 reloc->target_handle,
1590 (int) reloc->offset,
1591 reloc->read_domains,
1592 reloc->write_domain);
1595 if (unlikely((reloc->write_domain | reloc->read_domains)
1597 drm_dbg(&i915->drm, "reloc with read/write non-GPU domains: "
1600 reloc->target_handle,
1601 (int) reloc->offset,
1602 reloc->read_domains,
1603 reloc->write_domain);
1607 if (reloc->write_domain) {
1616 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION &&
1631 gen8_canonical_addr(target->vma->node.start) == reloc->presumed_offset)
1635 if (unlikely(reloc->offset >
1639 reloc->target_handle,
1640 (int)reloc->offset,
1644 if (unlikely(reloc->offset & 3)) {
1647 reloc->target_handle,
1648 (int)reloc->offset);
1663 return relocate_entry(ev->vma, reloc, eb, target->vma);
1723 * reloc.presumed_offset or will not
2125 * reloc.presumed_offset to be an exact match,
3274 * reloc.presumed_offset to be an exact match,