summaryrefslogtreecommitdiff
path: root/tests/kms_busy.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_busy.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_busy.c')
-rw-r--r--tests/kms_busy.c4
1 files changed, 2 insertions, 2 deletions
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 {