summaryrefslogtreecommitdiff
path: root/tests/kms_concurrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_concurrent.c')
-rw-r--r--tests/kms_concurrent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c
index e2cde4ee..5d1e0bc5 100644
--- a/tests/kms_concurrent.c
+++ b/tests/kms_concurrent.c
@@ -401,6 +401,7 @@ int main(int argc, char *argv[])
{ "seed", required_argument, NULL, 's'},
{ 0, 0, 0, 0 }
};
+ enum pipe pipe;
igt_subtest_init_parse_opts(&argc, argv, "", long_options, help_str,
opt_handler, NULL);
@@ -415,7 +416,7 @@ int main(int argc, char *argv[])
igt_require(data.display.is_atomic);
}
- for (int pipe = 0; pipe < IGT_MAX_PIPES; pipe++) {
+ for_each_pipe_static(pipe) {
igt_subtest_group
run_tests_for_pipe(&data, pipe);
}