summaryrefslogtreecommitdiff
path: root/tests/kms_color_chamelium.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_color_chamelium.c')
-rw-r--r--tests/kms_color_chamelium.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c
index 7f5a911c..310c021a 100644
--- a/tests/kms_color_chamelium.c
+++ b/tests/kms_color_chamelium.c
@@ -519,7 +519,7 @@ run_tests_for_pipe(data_t *data, enum pipe p)
igt_fixture {
- igt_require(p < data->display.n_pipes);
+ igt_require_pipe(&data->display, p);
pipe = &data->display.pipes[p];
igt_require(pipe->n_planes >= 0);