diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-13 22:46:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-13 22:47:47 +0100 |
commit | 171b21d9f761da5865f66cb55cbb5eb875a41b92 (patch) | |
tree | 0f79b440e979531da4d852594ff3719f908d6a6a | |
parent | 7b349f32babd206a4cffcdc6b056e05c2a2f1ec9 (diff) |
igt/gem_ctx_param: Update invalid parma number
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97108
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | lib/ioctl_wrappers.h | 1 | ||||
-rw-r--r-- | tests/gem_ctx_param.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index 115011c9..42dc3cb7 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -119,6 +119,7 @@ struct local_i915_gem_context_param { #define LOCAL_CONTEXT_PARAM_BAN_PERIOD 0x1 #define LOCAL_CONTEXT_PARAM_NO_ZEROMAP 0x2 #define LOCAL_CONTEXT_PARAM_GTT_SIZE 0x3 +#define LOCAL_CONTEXT_PARAM_NO_ERROR_CAPTURE 0x4 uint64_t value; }; void gem_context_require_ban_period(int fd); diff --git a/tests/gem_ctx_param.c b/tests/gem_ctx_param.c index a0055fe2..57d5e362 100644 --- a/tests/gem_ctx_param.c +++ b/tests/gem_ctx_param.c @@ -135,8 +135,9 @@ igt_main /* NOTE: This testcase intentionally tests for the next free parameter * to catch ABI extensions. Don't "fix" this testcase without adding all - * the tests for the new param first. */ - arg.param = LOCAL_CONTEXT_PARAM_GTT_SIZE + 1; + * the tests for the new param first. + */ + arg.param = LOCAL_CONTEXT_PARAM_NO_ERROR_CAPTURE + 1; igt_subtest("invalid-param-get") { arg.context = ctx; |