Lines Matching refs:reloc

886 relocation_target(const struct drm_i915_gem_relocation_entry *reloc,  in relocation_target()  argument
889 return gen8_canonical_addr((int)reloc->delta + target->node.start); in relocation_target()
1230 const struct drm_i915_gem_relocation_entry *reloc, in relocate_entry() argument
1234 u64 offset = reloc->offset; in relocate_entry()
1235 u64 target_offset = relocation_target(reloc, target); in relocate_entry()
1321 const struct drm_i915_gem_relocation_entry *reloc) in eb_relocate_entry() argument
1327 target = eb_get_vma(eb, reloc->target_handle); in eb_relocate_entry()
1332 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in eb_relocate_entry()
1336 reloc->target_handle, in eb_relocate_entry()
1337 (int) reloc->offset, in eb_relocate_entry()
1338 reloc->read_domains, in eb_relocate_entry()
1339 reloc->write_domain); in eb_relocate_entry()
1342 if (unlikely((reloc->write_domain | reloc->read_domains) in eb_relocate_entry()
1347 reloc->target_handle, in eb_relocate_entry()
1348 (int) reloc->offset, in eb_relocate_entry()
1349 reloc->read_domains, in eb_relocate_entry()
1350 reloc->write_domain); in eb_relocate_entry()
1354 if (reloc->write_domain) { in eb_relocate_entry()
1363 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in eb_relocate_entry()
1378 gen8_canonical_addr(target->node.start) == reloc->presumed_offset) in eb_relocate_entry()
1382 if (unlikely(reloc->offset > in eb_relocate_entry()
1386 reloc->target_handle, in eb_relocate_entry()
1387 (int)reloc->offset, in eb_relocate_entry()
1391 if (unlikely(reloc->offset & 3)) { in eb_relocate_entry()
1394 reloc->target_handle, in eb_relocate_entry()
1395 (int)reloc->offset); in eb_relocate_entry()
1410 return relocate_entry(vma, reloc, eb, target); in eb_relocate_entry()