From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 119A010E262 for ; Mon, 26 Jun 2023 21:24:02 +0000 (UTC) From: Nidhi Gupta To: igt-dev@lists.freedesktop.org Date: Tue, 27 Jun 2023 03:01:48 +0530 Message-Id: <20230626213148.2242-1-nidhi1.gupta@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2] tests/kms_plane_cursor: Handle invalid pipe in big joiner List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nidhi Gupta Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: If any pipe is invalid in big joiner currently test throws as skip for all the pipes as it is within the dynamic subtest block. Fixed in IGT by not executing the subtest if valid combo of pipe and output not found for big joiner and go on to check for the next pipe. v2: Fix commit subject and message (Bhanu) Fix nitpicks (Bhanu) Signed-off-by: Nidhi Gupta --- tests/kms_plane_cursor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/kms_plane_cursor.c b/tests/kms_plane_cursor.c index 59b105c6..2e45c07c 100644 --- a/tests/kms_plane_cursor.c +++ b/tests/kms_plane_cursor.c @@ -86,7 +86,6 @@ static void test_init(data_t *data, enum pipe pipe_id, igt_output_t *output) data->cursor = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_CURSOR); igt_output_set_pipe(data->output, data->pipe_id); - igt_require(i915_pipe_output_combo_valid(display)); igt_info("Using (pipe %s + %s) to run the subtest.\n", kmstest_pipe_name(data->pipe_id), igt_output_name(data->output)); @@ -310,6 +309,9 @@ igt_main DRM_PLANE_TYPE_OVERLAY)) continue; + if (!i915_pipe_output_combo_valid(&data.display)) + continue; + test_init(&data, pipe, output); for (j = 0; j < ARRAY_SIZE(cursor_sizes); j++) { -- 2.39.0