Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12575E9B262 for ; Tue, 24 Feb 2026 13:33:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BB6EC10E582; Tue, 24 Feb 2026 13:33:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="MudOj5dr"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7212A10E591 for ; Tue, 24 Feb 2026 13:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771939979; x=1803475979; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UW1AfzWAtBdibzpyplbDCOrm2pUGJWuws23hcCm/iFw=; b=MudOj5driJqioS81JOcccV0ZJWcMwph41w53Fox9vC8ZzihHOj/vR3yO dETaXKiJd+aFTzPMtAjiJ5OjCggKzQqbwsfgLeIA5TQwx88kkM6BH5wHu nveQXMeUo+XY5m2d9bf1C8MCO8bGw+JAOdL5qCu3L9eXyIX5VgLIrtgp7 6g2GgLozuVVE/L1C2RQBoCFTBmkTu3Ox5TqvdWf1egOc8ZrrJXyoqF9aw aHqFSVCHh6qLw88AkwaUz7YeP5R6ETu0pFmJAlpoja4B9uCjHP/iYJZgL ighyngR69BXLKc5hkY9WLDpq3N/fRLtikDFJYguhcrHb+kgqDsEnZmKKY Q==; X-CSE-ConnectionGUID: jTQksYW0T1aKAqK3v6xP1w== X-CSE-MsgGUID: VYitxWDMSQGhApOiujZYRA== X-IronPort-AV: E=McAfee;i="6800,10657,11710"; a="84410056" X-IronPort-AV: E=Sophos;i="6.21,308,1763452800"; d="scan'208";a="84410056" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2026 05:32:59 -0800 X-CSE-ConnectionGUID: StM4OpjCSome4ElkbkhrnQ== X-CSE-MsgGUID: 7nDUIw13Q7ig5qgeEIrCjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,308,1763452800"; d="scan'208";a="246476801" Received: from administrator-system-product-name.igk.intel.com (HELO dev-417.igk.intel.com) ([10.91.214.181]) by orviesa002.jf.intel.com with ESMTP; 24 Feb 2026 05:32:59 -0800 From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: igt-dev@lists.freedesktop.org Cc: mohammed.thasleem@intel.com, =?UTF-8?q?Micha=C5=82=20Grzelak?= Subject: [PATCH i-g-t 2/6] tests/kms_flip: run suspend tests on one pipe per output Date: Tue, 24 Feb 2026 14:32:38 +0100 Message-ID: <20260224133242.1678232-3-michal.grzelak@intel.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20260224133242.1678232-1-michal.grzelak@intel.com> References: <20260224133242.1678232-1-michal.grzelak@intel.com> 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-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" It is not necessary to test suspend on same output but different pipe. In case of suspend tests, limit number of dynamic subtests run per output when any pipe has already been tested. Signed-off-by: MichaƂ Grzelak --- tests/kms_flip.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 8bda82627..d09813f02 100755 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1844,6 +1844,10 @@ static void run_test(int duration, int flags) n != 0 && n != (resources->count_crtcs - 1)) continue; + /* Limit the execution to 1 CRTC (first) for suspend tests */ + if ((flags & TEST_SUSPEND) && !all_crtcs && n != 0) + continue; + memset(&o, 0, sizeof(o)); o.count = 1; o._connector[0] = resources->connectors[i]; @@ -1876,6 +1880,10 @@ static void run_test(int duration, int flags) n != 0 && n != (resources->count_crtcs - 1)) continue; + /* Limit the execution to 1 CRTC (first) for suspend tests */ + if ((flags & TEST_SUSPEND) && !all_crtcs && n != 0) + continue; + memset(&o, 0, sizeof(o)); o.count = 1; o._connector[0] = resources->connectors[i]; -- 2.45.2