diff options
author | Mark Yacoub <markyacoub@google.com> | 2021-07-09 11:27:51 -0400 |
---|---|---|
committer | Arkadiusz Hiler <arek@hiler.eu> | 2021-09-01 21:21:35 +0300 |
commit | b7e5f8a562675c5095f08cf9c291440bd4fcca0d (patch) | |
tree | 1a4c51295b8fb4eff361d96c5913111467197566 | |
parent | 6457f6e63525b84740784102ab3c769a58c16168 (diff) |
tests/kms_atomic: igt_require_pipe_crc for plane_immutable_zpos
[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@chromium.org>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
-rw-r--r-- | tests/kms_atomic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c index 862ccaa9..3a0f76d9 100644 --- a/tests/kms_atomic.c +++ b/tests/kms_atomic.c @@ -377,6 +377,7 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe, memset(plane_ptr, 0, n_planes * sizeof(igt_plane_t *)); 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); |