summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-10-19 11:36:17 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-10-19 11:37:07 +0100
commit5ec54d8a2165f5095ec70b9bdb9ae583fead39c2 (patch)
tree66be89678a69cef4510790bf9b7f17bc780d5ba8 /tests
parenta22719358d8fc7d4261829847e1ace042575a723 (diff)
Update CONTEXT_PARAM for GTT_SIZE reporting
Add the new PARAM identifier for reporting the context's GTT size. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_ctx_param_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_param_basic.c b/tests/gem_ctx_param_basic.c
index 45a351b8..94245ce0 100644
--- a/tests/gem_ctx_param_basic.c
+++ b/tests/gem_ctx_param_basic.c
@@ -150,7 +150,7 @@ 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. */
- ctx_param.param = LOCAL_CONTEXT_PARAM_NO_ZEROMAP + 1;
+ ctx_param.param = LOCAL_CONTEXT_PARAM_GTT_SIZE + 1;
igt_subtest("invalid-param-get") {
ctx_param.context = ctx;