From df682176524f034a1cecee457152f87e63f65113 Mon Sep 17 00:00:00 2001 From: "Leo (Sunpeng) Li" Date: Fri, 9 Jun 2017 17:13:04 -0400 Subject: tests: Rename I915_MAX_PIPES to IGT_MAX_PIPES Name should not be driver-specific. Signed-off-by: Leo (Sunpeng) Li Reviewed-by: Arkadiusz Hiler --- tests/kms_cursor_legacy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/kms_cursor_legacy.c') diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c index ac05ca53..8180b043 100644 --- a/tests/kms_cursor_legacy.c +++ b/tests/kms_cursor_legacy.c @@ -54,7 +54,7 @@ static void stress(igt_display_t *display, uint64_t *results; bool torture; int n; - unsigned crtc_id[I915_MAX_PIPES], num_crtcs; + unsigned crtc_id[IGT_MAX_PIPES], num_crtcs; torture = false; if (num_children < 0) { @@ -1425,7 +1425,7 @@ igt_main } igt_subtest_group { - for (int n = 0; n < I915_MAX_PIPES; n++) { + for (int n = 0; n < IGT_MAX_PIPES; n++) { errno = 0; igt_fixture { -- cgit v1.2.3