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 /lib/media_fill_gen8.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 'lib/media_fill_gen8.c')
-rw-r--r-- | lib/media_fill_gen8.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/media_fill_gen8.c b/lib/media_fill_gen8.c index 3ca1bfa7c..4a8fe5a2d 100644 --- a/lib/media_fill_gen8.c +++ b/lib/media_fill_gen8.c @@ -205,12 +205,10 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch) /* surface */ OUT_RELOC(batch->bo, I915_GEM_DOMAIN_SAMPLER, 0, BASE_ADDRESS_MODIFY); - OUT_BATCH(0); /* dynamic */ OUT_RELOC(batch->bo, I915_GEM_DOMAIN_RENDER | I915_GEM_DOMAIN_INSTRUCTION, 0, BASE_ADDRESS_MODIFY); - OUT_BATCH(0); /* indirect */ OUT_BATCH(0); @@ -218,7 +216,6 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch) /* instruction */ OUT_RELOC(batch->bo, I915_GEM_DOMAIN_INSTRUCTION, 0, BASE_ADDRESS_MODIFY); - OUT_BATCH(0); /* general state buffer size */ OUT_BATCH(0xfffff000 | 1); |