diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-13 20:57:04 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-13 21:05:10 +0200 |
commit | bbe635f0dc67e40fde1efb221b7e550952ad8a84 (patch) | |
tree | 7d868a141532bea350aab42643d5693da9e62af9 | |
parent | a5abe177468f3c1c93f869a7c33712c63b023f65 (diff) |
tests/gem_bad_length: dont throw garbage at the gpu
It doesn't like it. Really.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | tests/gem_bad_length.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_bad_length.c b/tests/gem_bad_length.c index 07ad5eb..416641c 100644 --- a/tests/gem_bad_length.c +++ b/tests/gem_bad_length.c @@ -90,7 +90,7 @@ static void exec0(int fd) { struct drm_i915_gem_execbuffer2 execbuf; struct drm_i915_gem_exec_object2 exec[2]; - uint32_t buf[2] = { MI_BATCH_BUFFER_END }; + uint32_t buf[2] = { MI_BATCH_BUFFER_END, 0 }; /* Just try executing with a zero-length bo. * We expect the kernel to either accept the nop batch, or reject it |