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 A492DCAC597 for ; Thu, 18 Sep 2025 19:06:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 55ADD10E8E9; Thu, 18 Sep 2025 19:06:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="hboQNS1b"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 620CE10E8E9 for ; Thu, 18 Sep 2025 19:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1758222396; x=1789758396; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QJJIfb8gyPmrsmakY/lLh4EyHRdsonLN1kWo3RZ+DYI=; b=hboQNS1bG5/jK97QE0xDBMDSE/+un54FZkLDGPX+iFyCk7Z4cx4jzNCN vufBpvhIaN4wJB9Q+XM0FlG6347WORj3vdkhAyXfnUjKlOuAvOj/M2HfI YwzR5ZQZDSlApse93WS9EG2cyJcajsww+ldWrUvQJOlc2iGMRD2HC1TZz m1+W/XbskYjemfcKCibGiV5QgvPkUYQOD8oOHQCM0CDLSLEZf5gxN/VGb yZKX7EyatjfrWgd7bMzO2XIYLweAPMoeiHRHolJc6k29+RHxdhxh3xxsS AVOszCfhNo/csLyQNXkt9zWYciii1i4XwzHjE71oAG4StXAuD3xVB94YX Q==; X-CSE-ConnectionGUID: ILIycrsASWe0VIU3ZhVE9g== X-CSE-MsgGUID: KrLQkSIGQwuynhCBsD2pjA== X-IronPort-AV: E=McAfee;i="6800,10657,11557"; a="63193919" X-IronPort-AV: E=Sophos;i="6.18,275,1751266800"; d="scan'208";a="63193919" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2025 12:06:36 -0700 X-CSE-ConnectionGUID: bt2vYt3zQCmUMGIaIKGETA== X-CSE-MsgGUID: 1e/CoXdJRmqcz6QtEDrgVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,275,1751266800"; d="scan'208";a="206412755" Received: from unknown (HELO linux-Raptor-Lake-Client-Platform.iind.intel.com) ([10.227.90.114]) by orviesa002.jf.intel.com with ESMTP; 18 Sep 2025 12:06:35 -0700 From: Mohammed Thasleem To: igt-dev@lists.freedesktop.org Cc: Mohammed Thasleem Subject: [PATCH i-g-t 2/2] tests/intel/kms_pm_rpm: Add system suspend idle test case Date: Fri, 19 Sep 2025 00:36:32 +0530 Message-ID: <20250918190632.37576-1-mohammed.thasleem@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250918190105.37420-1-mohammed.thasleem@intel.com> References: <20250918190105.37420-1-mohammed.thasleem@intel.com> MIME-Version: 1.0 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" Added a new subtest that tests S0ix (suspend-to-idle/freeze state) functionality using SUSPEND_STATE_FREEZE. This expands power management test coverage to include modern low-power idle states for comprehensive suspend testing. v2: Update subtest name with system-suspend-idle. (Kamil) Update the subject title. Signed-off-by: Mohammed Thasleem --- tests/intel/kms_pm_rpm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c index 344ef8c94..1610404ff 100644 --- a/tests/intel/kms_pm_rpm.c +++ b/tests/intel/kms_pm_rpm.c @@ -128,6 +128,9 @@ * * SUBTEST: universal-planes-dpms * Description: Validate universal plane (set/unset/change) with dpms. + * + * SUBTEST: system-suspend-idle + * Description: Validate suspend-to-idle (S0ix) functionality. */ #define MSR_PC8_RES 0x630 @@ -1685,6 +1688,9 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) igt_subtest("system-suspend-modeset") system_suspend_modeset_subtest(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); + igt_subtest("system-suspend-idle") + system_suspend_modeset_subtest(SUSPEND_STATE_FREEZE, + SUSPEND_TEST_NONE); /* power-wake reference tests */ igt_subtest("pm-tiling") { -- 2.43.0