mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
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>
This commit is contained in:
parent
a5abe17746
commit
bbe635f0dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user