diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-02-17 11:52:29 +0000 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-02-25 16:48:25 +0000 |
commit | efddb93680c5c5ca2d0c0c9c9af497908c1fa6f7 (patch) | |
tree | 4425e54138cf0227886b17ccd107452c522a8004 /tests/kms_flip_event_leak.c | |
parent | 0f3a5809e7801d4f48759ce4ffda764fcd7fb6bb (diff) |
tests: improve pipe enumeration
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/kms_flip_event_leak.c')
-rw-r--r-- | tests/kms_flip_event_leak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_flip_event_leak.c b/tests/kms_flip_event_leak.c index 8a5e6db3..ea4ce4cf 100644 --- a/tests/kms_flip_event_leak.c +++ b/tests/kms_flip_event_leak.c @@ -119,7 +119,7 @@ igt_simple_main igt_display_init(&data.display, data.drm_fd); - for (pipe = 0; pipe < 3; pipe++) { + for_each_pipe(&data.display, pipe) { for_each_connected_output(&data.display, output) { if (test(&data, pipe, output)) valid_tests++; |