[i-g-t v2 24/51] tests/kms_plane_cursor: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Aug 12 05:19:58 UTC 2022
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_plane_cursor.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/kms_plane_cursor.c b/tests/kms_plane_cursor.c
index 73085cc8..d311d48f 100644
--- a/tests/kms_plane_cursor.c
+++ b/tests/kms_plane_cursor.c
@@ -76,12 +76,13 @@ static void test_init(data_t *data, enum pipe pipe_id)
data->overlay = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_OVERLAY);
data->cursor = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_CURSOR);
+ igt_output_set_pipe(data->output, data->pipe_id);
+ igt_require(igt_test_constraint(display));
+
igt_require_pipe_crc(data->drm_fd);
data->pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe_id,
INTEL_PIPE_CRC_SOURCE_AUTO);
- igt_output_set_pipe(data->output, data->pipe_id);
-
/* Overlay rectangle for a rect in the center of the screen */
data->or.x = data->mode->hdisplay / 4;
data->or.y = data->mode->vdisplay / 4;
--
2.35.1
More information about the Intel-gfx-trybot
mailing list