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_busy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/kms_busy.c') diff --git a/tests/kms_busy.c b/tests/kms_busy.c index d6ef1f17..731ace47 100644 --- a/tests/kms_busy.c +++ b/tests/kms_busy.c @@ -284,7 +284,7 @@ static void test_hang(igt_display_t *dpy, unsigned ring, igt_main { - igt_display_t display = { .drm_fd = -1, .n_pipes = I915_MAX_PIPES }; + igt_display_t display = { .drm_fd = -1, .n_pipes = IGT_MAX_PIPES }; const struct intel_execution_engine *e; igt_skip_on_simulation(); @@ -302,7 +302,7 @@ igt_main /* XXX Extend to cover atomic rendering tests to all planes + legacy */ - 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