From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66D0010ED98 for ; Fri, 9 Sep 2022 14:06:32 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Fri, 9 Sep 2022 19:32:58 +0530 Message-Id: <20220909140331.1041095-20-bhanuprakash.modem@intel.com> In-Reply-To: <20220909140331.1041095-1-bhanuprakash.modem@intel.com> References: <20220909140331.1041095-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V3 19/52] tests/kms_lease: Add support for Bigjoiner List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: This patch will add a check to Skip the subtest if a selected pipe/output combo won't support Bigjoiner or 8K mode. Example: * Pipe-D wont support a mode > 5K * To use 8K mode on a pipe then consecutive pipe must be available & free. V2: - Use updated helper name Signed-off-by: Bhanuprakash Modem --- tests/kms_lease.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/kms_lease.c b/tests/kms_lease.c index 0bf102a6..dfdb1e39 100644 --- a/tests/kms_lease.c +++ b/tests/kms_lease.c @@ -823,6 +823,12 @@ static void run_test(data_t *data, void (*testfunc)(data_t *)) kmstest_pipe_name(p), igt_output_name(output)); + igt_display_reset(display); + + igt_output_set_pipe(output, p); + if (!i915_pipe_output_combo_valid(display)) + continue; + data->pipe = p; data->crtc_id = pipe_to_crtc_id(display, p); data->connector_id = output->id; -- 2.35.1