Lines Matching refs:reloc1
121 struct drm_i915_gem_relocation_entry reloc1[1024]; in run() local
216 memset(reloc1, 0, sizeof(reloc1)); in run()
221 reloc1[i].presumed_offset = obj[0].offset; in run()
222 reloc1[i].offset = (b - ptr + 1) * sizeof(*ptr); in run()
223 reloc1[i].delta = i * sizeof(uint32_t); in run()
224 reloc1[i].read_domains = I915_GEM_DOMAIN_INSTRUCTION; in run()
225 reloc1[i].write_domain = I915_GEM_DOMAIN_INSTRUCTION; in run()
227 offset = obj[0].offset + reloc1[i].delta; in run()
235 reloc1[i].offset += sizeof(*ptr); in run()
252 obj[2].relocs_ptr = to_user_pointer(&reloc1[i]); in run()
254 igt_assert_eq_u64(reloc1[i].presumed_offset, obj[0].offset); in run()