summaryrefslogtreecommitdiff
path: root/tests/gem_fenced_exec_thrash.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-29 15:19:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-29 20:02:10 +0100
commit982f7eb238a0898c456e0574dee7c4507738d75f (patch)
treef824758529ba8f510a57e632c5e8e81af852446a /tests/gem_fenced_exec_thrash.c
parent86055df9682948ef26b06b94a3856676d638e2fb (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_fenced_exec_thrash.c')
-rw-r--r--tests/gem_fenced_exec_thrash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/gem_fenced_exec_thrash.c b/tests/gem_fenced_exec_thrash.c
index 42b7841d..6ef21a4c 100644
--- a/tests/gem_fenced_exec_thrash.c
+++ b/tests/gem_fenced_exec_thrash.c
@@ -92,11 +92,9 @@ static void emit_dummy_load(void)
OUT_BATCH(0 << 16 | 1024);
OUT_BATCH((2048) << 16 | (2048));
OUT_RELOC_FENCED(dummy_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);
- BLIT_RELOC_UDW(devid);
OUT_BATCH(0 << 16 | 0);
OUT_BATCH(pitch);
OUT_RELOC_FENCED(dummy_bo, I915_GEM_DOMAIN_RENDER, 0, 0);
- BLIT_RELOC_UDW(devid);
ADVANCE_BATCH();
if (IS_GEN6(devid) || IS_GEN7(devid)) {