[igt-dev] [PATCH] tests/kms_atomic: igt_require_pipe_crc for plane_immutable_zpos
Mark Yacoub
markyacoub at chromium.org
Fri Jul 9 15:27:51 UTC 2021
From: Mark Yacoub <markyacoub at google.com>
[Why]
kms_atomic:plane_immutable_zpos subtest uses CRC in debugfs which is
not supported by some drivers.
[How]
igt_require_pipe_crc before the test begins.
Test: kms_atomic:plane-immutable-zpos on ChromeOS Trogdor(msm)
Signed-off-by: Mark Yacoub <markyacoub at chromium.org>
---
tests/kms_atomic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index df9c9df7..4b262257 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -375,6 +375,7 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,
uint32_t w_lower, h_lower, w_upper, h_upper;
igt_require(n_planes >= 2);
+ igt_require_pipe_crc(display->drm_fd);
mode = igt_output_get_mode(output);
primary = igt_pipe_get_plane_type(pipe, DRM_PLANE_TYPE_PRIMARY);
--
2.32.0.93.g670b81a890-goog
More information about the igt-dev
mailing list