diff options
Diffstat (limited to 'tests/kms_plane_multiple.c')
-rw-r--r-- | tests/kms_plane_multiple.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c index 4bc26b73..aea59df8 100644 --- a/tests/kms_plane_multiple.c +++ b/tests/kms_plane_multiple.c @@ -492,6 +492,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); @@ -506,7 +507,7 @@ int main(int argc, char *argv[]) igt_require(data.display.n_pipes > 0); } - for (int pipe = 0; pipe < IGT_MAX_PIPES; pipe++) { + for_each_pipe_static(pipe) { igt_subtest_group run_tests_for_pipe(&data, pipe); } |