diff options
author | Brad Volkin <bradley.d.volkin@intel.com> | 2014-01-29 13:58:29 -0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-25 14:18:37 +0100 |
commit | 56fee51b3140d33824bafc79c86c5c38346807cc (patch) | |
tree | 1d5522b5e469244339bbb5710f168ab73a01b81d | |
parent | 1f3e03bee3af336c6b7b47e04e9f0a552a9a9289 (diff) |
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>
-rw-r--r-- | tests/gem_exec_parse.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/gem_exec_parse.c b/tests/gem_exec_parse.c index 9e90408b..004c3bff 100644 --- a/tests/gem_exec_parse.c +++ b/tests/gem_exec_parse.c @@ -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); |