diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-29 15:19:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-29 20:02:10 +0100 |
commit | 982f7eb238a0898c456e0574dee7c4507738d75f (patch) | |
tree | f824758529ba8f510a57e632c5e8e81af852446a /tests/gem_unref_active_buffers.c | |
parent | 86055df9682948ef26b06b94a3856676d638e2fb (diff) |
Prepare for 64bit relocation addresses
This reveal that quite a few locations were writing relocation offsets
but only allowing for 32 bit addresses. To reveal such places in active
tests, we also now double check that we do not use more batch space than
declared.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_unref_active_buffers.c')
-rw-r--r-- | tests/gem_unref_active_buffers.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/gem_unref_active_buffers.c b/tests/gem_unref_active_buffers.c index cdc30990..ca775987 100644 --- a/tests/gem_unref_active_buffers.c +++ b/tests/gem_unref_active_buffers.c @@ -80,12 +80,10 @@ igt_simple_main 4096); OUT_BATCH(0); /* dst x1,y1 */ OUT_BATCH((1024 << 16) | 512); - OUT_RELOC(load_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0); - BLIT_RELOC_UDW(batch->devid); + OUT_RELOC_FENCED(load_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0); OUT_BATCH((0 << 16) | 512); /* src x1, y1 */ OUT_BATCH(4096); - OUT_RELOC(load_bo, I915_GEM_DOMAIN_RENDER, 0, 0); - BLIT_RELOC_UDW(batch->devid); + OUT_RELOC_FENCED(load_bo, I915_GEM_DOMAIN_RENDER, 0, 0); ADVANCE_BATCH(); intel_batchbuffer_flush(batch); |