From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (unknown [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7705210E123 for ; Thu, 27 Jul 2023 13:05:37 +0000 (UTC) From: Jeevan B To: igt-dev@lists.freedesktop.org Date: Thu, 27 Jul 2023 18:25:35 +0530 Message-ID: <20230727125535.2832-1-jeevan.b@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t] tests/kms_flip: Restrict multi-display hang tests execution List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kamil.konieczny@intel.com Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Restrict the hang tests execution to the first and last pipe combinations to avoid timeouts on CI. v2: Update the subject and combine the if condition. Signed-off-by: Jeevan B --- tests/kms_flip.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/kms_flip.c b/tests/kms_flip.c index ef2234f74..739939ce3 100755 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1729,9 +1729,13 @@ static void run_pair(int duration, int flags) crtc_idxs[0] = n; crtc_idxs[1] = m; - /* Limit the execution to PIPE_A combination for hang tests */ - if ((flags & TEST_HANG) && !all_pipes && - (n != 0 && n != resources->count_crtcs)) + /* + * Limit the execution to 2 CRTCs + * (first and last combination) for hang tests + */ + if (((flags & TEST_HANG) && !all_pipes) && + ((n != 0 && n != resources->count_crtcs) || + m != resources->count_crtcs - 1)) continue; run_test_on_crtc_set(&o, crtc_idxs, -- 2.41.0