From mboxrd@z Thu Jan 1 00:00:00 1970 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 BB57EC43458 for ; Mon, 29 Jun 2026 09:08:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5197710E799; Mon, 29 Jun 2026 09:08:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ZbipuAFZ"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 35D7310E799 for ; Mon, 29 Jun 2026 09:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782724067; x=1814260067; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=G5Cs5Zl+p2jKM7T9PTwyD0rTXK9ezjtSwlyavkCBpSQ=; b=ZbipuAFZ6IdneqMVnGZnOAuu3fqgyiLliHuJ1nwIvbgBt+bondZjWadP oWA2s0tuvz4ClK6AVIh1XDyOJgDCUNgi+Ec6zS3lXHQ+k0Zj5eAXdgEeh olNsBEAmlhybR53nUfeQ0pIKgRBrzEsQk772a7GBKGtE1VND26fDJwsuU +rnORctM/mz1sLpGedD0ut8RGoqnXsV4vGM9fEfNxEtyGOF1wWL2YZJ2c OSbn3KiBCckNAgGKsZckuC/ckJfsXdyHZyTZzCNcegTIWID/DN9dKfGl4 qS6gM8AsfThwqS/Fhy0sVQQhadB3PMQHnTzvYQ4SC6CTK3o8/de+dJsYo A==; X-CSE-ConnectionGUID: FihHENmiR0CMIva92DFTmA== X-CSE-MsgGUID: BnFpPvE4QnCS2/PhVI27Dw== X-IronPort-AV: E=McAfee;i="6800,10657,11831"; a="94893480" X-IronPort-AV: E=Sophos;i="6.24,231,1774335600"; d="scan'208";a="94893480" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2026 02:07:47 -0700 X-CSE-ConnectionGUID: oZW9nMsyTJ6Ht68gDXnRsg== X-CSE-MsgGUID: vN/+fOUBSN6iib8t22SzVg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,231,1774335600"; d="scan'208";a="247449763" Received: from dev-417.igk.intel.com ([10.91.214.181]) by fmviesa006.fm.intel.com with ESMTP; 29 Jun 2026 02:07:45 -0700 From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: igt-dev@lists.freedesktop.org Cc: juhapekka.heikkila@gmail.com, =?UTF-8?q?Micha=C5=82=20Grzelak?= Subject: [PATCH i-g-t v1 2/3] tests/sharpness_filter: limit #outputs used during suspend Date: Mon, 29 Jun 2026 11:07:39 +0200 Message-ID: <20260629090740.2706320-3-michal.grzelak@intel.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20260629090740.2706320-1-michal.grzelak@intel.com> References: <20260629090740.2706320-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" We are iterating through each connected output while testing suspend. This results in extended execution time, in turn leading to hitting CI enforced timeout. Limit number of used outputs by default to 3. Test each connected output when passing dedicated commandline parameter. Cc: Juha-Pekka Heikkilä Signed-off-by: Michał Grzelak --- tests/intel/kms_sharpness_filter.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tests/intel/kms_sharpness_filter.c b/tests/intel/kms_sharpness_filter.c index 1575cde6f7..fc7074b1c7 100644 --- a/tests/intel/kms_sharpness_filter.c +++ b/tests/intel/kms_sharpness_filter.c @@ -231,6 +231,7 @@ static const struct subtest_entry { typedef struct { int drm_fd; bool limited; + bool all_outps; struct igt_fb fb[4]; igt_crtc_t *crtc; igt_display_t display; @@ -599,9 +600,15 @@ run_sharpness_filter_test(data_t *data, enum test_type type) igt_display_t *display = &data->display; igt_output_t *output; igt_crtc_t *crtc; + int outp_cntr = 0; char name[40]; for_each_connected_output(display, output) { + if (type == TEST_FILTER_SUSPEND && !data->all_outps && outp_cntr > 3) + continue; + + outp_cntr++; + for_each_crtc(display, crtc) { igt_display_reset(display); @@ -744,6 +751,9 @@ static int opt_handler(int opt, int opt_index, void *_data) case 'l': data->limited = true; break; + case 'o': + data->all_outps = true; + break; default: return IGT_OPT_HANDLER_ERROR; } @@ -752,11 +762,12 @@ static int opt_handler(int opt, int opt_index, void *_data) } static const char help_str[] = - " --limited|-l\t\tLimit execution to 1 valid pipe-output combo\n"; + " --limited|-l\t\tLimit execution to 1 valid pipe-output combo\n" + " --all-outputs|-o\t\tExtend suspend tests for all outputs\n"; data_t data = {}; -int igt_main_args("l", NULL, help_str, opt_handler, &data) +int igt_main_args("lo", NULL, help_str, opt_handler, &data) { igt_fixture() { data.drm_fd = drm_open_driver_master(DRIVER_ANY); -- 2.45.2