summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_legacy.c
diff options
context:
space:
mode:
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>2017-06-09 17:13:04 -0400
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2017-06-16 16:16:57 +0300
commitdf682176524f034a1cecee457152f87e63f65113 (patch)
tree9f06555deb7032ad9997a8a2fcb28548cbb0c9f0 /tests/kms_cursor_legacy.c
parent597cae9b7e36b8d1f95a1102fd4aab9c2e3b18fe (diff)
tests: Rename I915_MAX_PIPES to IGT_MAX_PIPES
Name should not be driver-specific. Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r--tests/kms_cursor_legacy.c4
1 files changed, 2 insertions, 2 deletions
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 {