i965: Use I915_EXEC_NO_RELOC
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 15:36:47 +0000 (16:36 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Aug 2017 17:26:37 +0000 (10:26 -0700)
commit3f353342a6b6744773c26ed66b12afed42bd57af
tree0c82a59b1f564c93e013990b656523fba5bf7a42
parent12a77f391f80e2c35fd4676a9c9f882003221712
i965: Use I915_EXEC_NO_RELOC

If we correctly fill the batch with the right relocation value, and that
matches the expected location of the object, we can then tell the kernel
it can forgo checking each individual relocation by only checking
whether the object moved.

v2: Rebase to apply ahead of I915_EXEC_HANDLE_LUT

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_batchbuffer.c