Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50F62606A322 for ; Fri, 4 Dec 2026 17:50:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=jXIEJ0ob Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 08B4A1130DA; Fri, 4 Dec 2026 17:50:05 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6445D1130BE for ; Fri, 4 Dec 2026 17:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796406040; x=1827942040; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NkJOEkCY53HtGL9tHPfI+hr2f5kwm1/nZrEKoO7/Zsw=; b=jXIEJ0obc2jyhc44g/NWyek0S1BsStA9kXMFmD7x4JktLFxTSIB90Ngp iSBpeNH/xwlxajCZWwDO1B9i74MeZ3GgXbnSHwbSILVi50z9VNA18x+VP TDREauM09qwEKSTdmBX0KuBaHg5OH2F9tnC590qw5Ld9L4HyHF6b70tcl 6a0myaNx8swM3BShr4bf105LuIa+AQ9B+AheO+gTrgDc1LnqnQKXuMZfd iJBPix3xDiLTLOeP91SMxVyMFiR7Kkp3dK2h9SCjODEGWlkUrhr4n5oMn tlce1mr/ZjMLehiZumXnBfsRBfmGVLZukBKVvwzPCNv2OCluGG1Okq9dN g==; X-CSE-ConnectionGUID: /wx/EhEySh2dX1aK36xRQg== X-CSE-MsgGUID: 0RxPfRUUSli6rywfKGCVIw== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5405700" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5405700" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 09:40:40 -0800 X-CSE-ConnectionGUID: 8FXh7GR9R6+8JlgAcRyEng== X-CSE-MsgGUID: 41tz3sMeRxGe07Pfy8gXzQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="14035455" Received: from dev-417.igk.intel.com ([10.91.214.181]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 09:40:39 -0800 From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: igt-dev@lists.freedesktop.org Cc: Karthik B S , Swati Sharma , =?UTF-8?q?Juha-Pekka=20Heikkil=C3=A4?= , Jani Nikula , =?UTF-8?q?Micha=C5=82=20Grzelak?= , =?UTF-8?q?Micha=C5=82=20Grzelak?= Subject: [PATCH i-g-t v11 8/9] tests/intel/kms_ccs: limit #pipes tested during suspend Date: Fri, 4 Dec 2026 18:40:15 +0100 Message-ID: <20261204174016.1914923-9-michal.grzelak@linux.intel.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20261204174016.1914923-1-michal.grzelak@linux.intel.com> References: <20261204174016.1914923-1-michal.grzelak@linux.intel.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Technology Poland sp. z o.o. - ul. Slowackiego 173, 80-298 Gdansk - KRS 101882 - NIP 957-07-52-316 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "igt-dev" X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Limit execution of suspend tests to first and last active pipe unless using `extended` flag. This reduces default execution time of the test. In turn this can lower chances of hitting CI timeout. Alternatively test could be run on first and last CRTC; but due to pipe reordering, this would result in using arbitrary pipes. Thus set first and last pipe as the only available in suspend resume case. v10->v11 - use bitmask instead of bools' array (Jani) v8->v9 - fix extra long opts string (JP) v7->v8 - use pipe mask (Jani) v6->v7 - use first and last hardware pipe instead of CRTCs (J-P, Jani) v5->v6 - describe how pipe reordering affects the test (Jani) v3->v4 - set `first' and `last' indices outside of crtc loop (Thasleem) Reviewed-by: Juha-Pekka Heikkila Signed-off-by: MichaƂ Grzelak --- tests/intel/kms_ccs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/intel/kms_ccs.c b/tests/intel/kms_ccs.c index 44e7907974..82ab7e17eb 100644 --- a/tests/intel/kms_ccs.c +++ b/tests/intel/kms_ccs.c @@ -946,6 +946,10 @@ static uint32_t get_crtc_index_mask(data_t *data) crtc_index_mask |= 1 << crtc->crtc_index; } + if (data->all_crtcs && first_pipe_crtc) + crtc_index_mask = 1 << first_pipe_crtc->crtc_index | + 1 << last_pipe_crtc->crtc_index; + return crtc_index_mask; } -- 2.45.2