From efddb93680c5c5ca2d0c0c9c9af497908c1fa6f7 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Tue, 17 Feb 2015 11:52:29 +0000 Subject: tests: improve pipe enumeration Signed-off-by: Thomas Wood --- tests/kms_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_plane.c') diff --git a/tests/kms_plane.c b/tests/kms_plane.c index c94eac05..8a08f203 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -399,7 +399,7 @@ igt_main igt_display_init(&data.display, data.drm_fd); } - for (int pipe = 0; pipe < 3; pipe++) + for (int pipe = 0; pipe < I915_MAX_PIPES; pipe++) run_tests_for_pipe(&data, pipe); igt_fixture { -- cgit v1.2.3