diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-01 12:22:09 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-01 12:23:20 +0100 |
| commit | 9556b29fe3ff142d468c8d0e01a8c4e1c6a26980 (patch) | |
| tree | 545690f2aacbafa66a5f92c14a2685126d01e831 | |
| parent | fed920b4ae275d8644f1cc3d8adf37f3a22fc721 (diff) | |
i915/gem_exec_store: Check that at least one engine supports stores
Both bw/gdg refuse to use MI_STORE_DWORD at all.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
| -rw-r--r-- | tests/i915/gem_exec_store.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i915/gem_exec_store.c b/tests/i915/gem_exec_store.c index a6409c40..677db6f6 100644 --- a/tests/i915/gem_exec_store.c +++ b/tests/i915/gem_exec_store.c @@ -191,6 +191,7 @@ static void store_all(int fd) continue; nengine++; } + igt_require(nengine); reloc = calloc(2*nengine, sizeof(*reloc)); igt_assert(reloc); |
