projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5abe17
)
tests/gem_bad_length: dont throw garbage at the gpu
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 13 Sep 2011 18:57:04 +0000
(20:57 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 13 Sep 2011 19:05:10 +0000
(21:05 +0200)
It doesn't like it. Really.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_bad_length.c
patch
|
blob
|
history
diff --git
a/tests/gem_bad_length.c
b/tests/gem_bad_length.c
index
07ad5eb
..
416641c
100644
(file)
--- 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