summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/i915/gem_ctx_param.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/i915/gem_ctx_param.c b/tests/i915/gem_ctx_param.c
index c46fd709..0bbc5eff 100644
--- a/tests/i915/gem_ctx_param.c
+++ b/tests/i915/gem_ctx_param.c
@@ -156,14 +156,14 @@ igt_main
gem_require_contexts(fd);
ctx = gem_context_create(fd);
- }
- arg.param = I915_CONTEXT_PARAM_BAN_PERIOD;
+ arg.param = I915_CONTEXT_PARAM_BAN_PERIOD;
- /* XXX start to enforce ban period returning -EINVAL when
- * transition has been done */
- if (__gem_context_get_param(fd, &arg) == -EINVAL)
- arg.param = I915_CONTEXT_PARAM_BANNABLE;
+ /* XXX start to enforce ban period returning -EINVAL when
+ * transition has been done */
+ if (__gem_context_get_param(fd, &arg) == -EINVAL)
+ arg.param = I915_CONTEXT_PARAM_BANNABLE;
+ }
igt_subtest("basic") {
arg.ctx_id = ctx;