diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-13 16:41:07 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-16 10:17:40 +0000 |
commit | cb53c67a8f8f88814740656f6b100e480f472227 (patch) | |
tree | 595059714096567f1b9c6a6ebb5ed7d6e40694d2 /tests/i915/gem_eio.c | |
parent | 9822051876c0eddf99b4c73783c794b98336af06 (diff) |
i915: Increase engine[] to fit the entire RING_MASK
As a stepping stone, increase the assumed 16 engines is enough for
everyone, to cover the current RING_MASK, the maximum number of engines
that can currently be selected during execbuf.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Diffstat (limited to 'tests/i915/gem_eio.c')
-rw-r--r-- | tests/i915/gem_eio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c index c5ef61bd..cc5ab2b8 100644 --- a/tests/i915/gem_eio.c +++ b/tests/i915/gem_eio.c @@ -694,11 +694,11 @@ static void test_inflight_external(int fd) static void test_inflight_internal(int fd, unsigned int wait) { + const uint32_t bbe = MI_BATCH_BUFFER_END; struct drm_i915_gem_execbuffer2 execbuf; struct drm_i915_gem_exec_object2 obj[2]; - uint32_t bbe = MI_BATCH_BUFFER_END; + int fences[I915_EXEC_RING_MASK + 1]; unsigned nfence = 0; - int fences[16]; igt_spin_t *hang; igt_require(gem_has_exec_fence(fd)); |