Lines Matching refs:reloc
890 relocation_target(const struct drm_i915_gem_relocation_entry *reloc, in relocation_target() argument
893 return gen8_canonical_addr((int)reloc->delta + target->node.start); in relocation_target()
1257 const struct drm_i915_gem_relocation_entry *reloc, in relocate_entry() argument
1261 u64 offset = reloc->offset; in relocate_entry()
1262 u64 target_offset = relocation_target(reloc, target); in relocate_entry()
1348 const struct drm_i915_gem_relocation_entry *reloc) in eb_relocate_entry() argument
1354 target = eb_get_vma(eb, reloc->target_handle); in eb_relocate_entry()
1359 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in eb_relocate_entry()
1363 reloc->target_handle, in eb_relocate_entry()
1364 (int) reloc->offset, in eb_relocate_entry()
1365 reloc->read_domains, in eb_relocate_entry()
1366 reloc->write_domain); in eb_relocate_entry()
1369 if (unlikely((reloc->write_domain | reloc->read_domains) in eb_relocate_entry()
1374 reloc->target_handle, in eb_relocate_entry()
1375 (int) reloc->offset, in eb_relocate_entry()
1376 reloc->read_domains, in eb_relocate_entry()
1377 reloc->write_domain); in eb_relocate_entry()
1381 if (reloc->write_domain) { in eb_relocate_entry()
1390 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in eb_relocate_entry()
1405 gen8_canonical_addr(target->node.start) == reloc->presumed_offset) in eb_relocate_entry()
1409 if (unlikely(reloc->offset > in eb_relocate_entry()
1413 reloc->target_handle, in eb_relocate_entry()
1414 (int)reloc->offset, in eb_relocate_entry()
1418 if (unlikely(reloc->offset & 3)) { in eb_relocate_entry()
1421 reloc->target_handle, in eb_relocate_entry()
1422 (int)reloc->offset); in eb_relocate_entry()
1437 return relocate_entry(vma, reloc, eb, target); in eb_relocate_entry()