tests/gem_exec_parse: Test for batches w/o MI_BATCH_BUFFER_END

Signed-off-by: Brad Volkin <bradley.d.volkin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Brad Volkin 2014-01-29 13:58:29 -08:00 committed by Daniel Vetter
parent 1f3e03bee3
commit 56fee51b31

View File

@ -257,6 +257,15 @@ igt_main
-EINVAL));
}
igt_subtest("batch-without-end") {
uint32_t noop[1024] = { 0 };
igt_assert(
exec_batch(fd, handle,
noop, sizeof(noop),
I915_EXEC_RENDER,
-EINVAL));
}
igt_fixture {
gem_close(fd, handle);