diff options
author | Mohammed Khajapasha <mohammed.khajapasha@intel.com> | 2020-07-20 20:50:41 +0530 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2020-07-21 12:58:23 +0300 |
commit | a7f52de182be54a2b9f20b34f914ebd01aa7d383 (patch) | |
tree | 0135a6e4fefc2773a241e309a2fb681bd3858f25 /tests/kms_color.c | |
parent | 6f6dd6912c04f0897baef363df9abd2d79bf48e2 (diff) |
tests/kms: Skip kms test cases for disabled pipes
Skip the kms test cases for disabled pipes with
non-contiguous pipe display.
Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/kms_color.c')
-rw-r--r-- | tests/kms_color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_color.c b/tests/kms_color.c index 7f2fbd4a..8c50ee66 100644 --- a/tests/kms_color.c +++ b/tests/kms_color.c @@ -628,7 +628,7 @@ run_tests_for_pipe(data_t *data, enum pipe p) igt_fixture { igt_require_pipe_crc(data->drm_fd); - igt_require(p < data->display.n_pipes); + igt_require_pipe(&data->display, p); pipe = &data->display.pipes[p]; igt_require(pipe->n_planes >= 0); |