diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-07-07 21:28:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-07-07 21:29:07 +0100 |
commit | 4b8e1273d36acf63ec071f015059fe5b2a8f8aac (patch) | |
tree | 939a907fe151123a33891e51bf650624b9358048 /tests | |
parent | a8bfef786bf56a7b37e76c0d7f0e4363fe9e92ff (diff) |
igt/gem_exec_params: Update negative flags test.
Negative testing ftw.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_exec_params.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c index 07bea924..0e8848df 100644 --- a/tests/gem_exec_params.c +++ b/tests/gem_exec_params.c @@ -47,6 +47,7 @@ #define LOCAL_I915_EXEC_RESOURCE_STREAMER (1<<15) #define LOCAL_I915_EXEC_FENCE_IN (1 << 16) #define LOCAL_I915_EXEC_FENCE_OUT (1 << 17) +#define LOCAL_I915_EXEC_BATCH_FIRST (1 << 18) static bool has_ring(int fd, unsigned ring_exec_flags) { @@ -250,7 +251,7 @@ igt_main /* NOTE: This test intentionally exercise the next available * flag. Don't "fix" this testcase without adding the required * tests for the new flag first. */ - execbuf.flags = I915_EXEC_RENDER | (LOCAL_I915_EXEC_FENCE_OUT << 1); + execbuf.flags = I915_EXEC_RENDER | (LOCAL_I915_EXEC_BATCH_FIRST << 1); RUN_FAIL(EINVAL); } |