summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bragg <robert@sixbynine.org>2016-11-08 13:14:38 +0000
committerRobert Bragg <robert@sixbynine.org>2016-11-17 13:06:06 +0000
commit86ccc6b03112a34da6ed777c96779222d3144246 (patch)
treeaca3a2105af821895d28ad505d162717a0e564eb
parentb9359a29af6f61a52159aefd9557eea945dd13e1 (diff)
igt/gem_exec_parse: req. v < 9 for oacontrol tracking test
This limits testing the oacontrol tracking (required pairing of oa enable/disable per batch buffer) to version <= 8 of the command parser. Version 9 of the command parser removes all special handling for OACONTROL which is now going to be managed by i915-perf and not programmed from userspace. Signed-off-by: Robert Bragg <robert@sixbynine.org> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
-rw-r--r--tests/gem_exec_parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gem_exec_parse.c b/tests/gem_exec_parse.c
index 9e57ff58..6dc99982 100644
--- a/tests/gem_exec_parse.c
+++ b/tests/gem_exec_parse.c
@@ -551,6 +551,9 @@ igt_main
0x31337000,
MI_BATCH_BUFFER_END,
};
+
+ igt_require(parser_version < 9);
+
exec_batch(fd, handle,
lri_ok, sizeof(lri_ok),
I915_EXEC_RENDER,