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 6D29BC7114A for ; Tue, 17 Jun 2025 06:45:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0533F10E50B; Tue, 17 Jun 2025 06:45:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="DEEnGFkY"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id C3B8610E50A for ; Tue, 17 Jun 2025 06:45:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1750142731; x=1781678731; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=eTfMnyxVOemzTMwOLWnglEheTjZ6pWJRWTxng500UDU=; b=DEEnGFkYhVdKjPq1W4WrLSd3hj+xtpYD3FScIDQNmxIdX5q2klxSnf3s dNmoYJZBHRJwpFQ0jG942MpaE7N/62TIRLHeU7i5on2w0fO7Kgg1jPiG+ freAEaWT/AMQpBOyWclfYw/lKQ0Jf6noX6XqHtFmV2S40tRHvwn2qMvDK +jYHOGYC1YbdP0eBdtoLYmtn9PERCj+gidWHp1v54UIodWxrPJZ8bcjt/ 8Mr1d3QhPcsdTWb0QYNy0ZdnXHQyF2YkzU+K5mj1+sv39PSpxtQgjzF4r JZpLgcYHV5DbMi2lFJjSu2GWTbwiI1Aw6NtWuU6ueUN2yHfnZrGS5uqjo w==; X-CSE-ConnectionGUID: LBp2pXKdSJeIAx0ofmHisA== X-CSE-MsgGUID: GfC7MLxpQ/Gyfgoo02JoGQ== X-IronPort-AV: E=McAfee;i="6800,10657,11465"; a="63335545" X-IronPort-AV: E=Sophos;i="6.16,242,1744095600"; d="scan'208";a="63335545" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2025 23:45:30 -0700 X-CSE-ConnectionGUID: l4HB0nuHSbKwrRZh77tOQA== X-CSE-MsgGUID: 0VhTVyynR96BePZSyIqkEw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,242,1744095600"; d="scan'208";a="149578126" Received: from anirban-z690i-a-ultra-plus.iind.intel.com ([10.190.216.83]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2025 23:45:29 -0700 From: Sk Anirban To: igt-dev@lists.freedesktop.org Cc: kamil.konieczny@intel.com, riana.tauro@intel.com, Sk Anirban Subject: [i-g-t, v2, 3/3] tests/intel/pm_rc6_residency: Ensure that SLPC is enabled for test rc6-idle Date: Tue, 17 Jun 2025 12:15:00 +0530 Message-ID: <20250617064456.3041238-8-sk.anirban@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250617064456.3041238-5-sk.anirban@intel.com> References: <20250617064456.3041238-5-sk.anirban@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" The test currently utilizes sysfs to adjust the RPS minimum frequency to RP0 in order to reach peak frequency. Therefore, skip the test on older platforms where SLPC is not enabled. v2: Remove guc check (Riana) Signed-off-by: Sk Anirban --- tests/intel/i915_pm_rc6_residency.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/intel/i915_pm_rc6_residency.c b/tests/intel/i915_pm_rc6_residency.c index d3fa95423..2236668ce 100644 --- a/tests/intel/i915_pm_rc6_residency.c +++ b/tests/intel/i915_pm_rc6_residency.c @@ -617,6 +617,8 @@ igt_main igt_require_gem(i915); gem_quiescent_gpu(i915); + igt_require_f(i915_is_slpc_enabled(i915), + "This test can only be conducted if SLPC is enabled\n"); s_dirfd = igt_sysfs_gt_open(i915, 0); stash_min = get_freq(s_dirfd, RPS_MIN_FREQ_MHZ); -- 2.43.0