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 ABA0DC54FB3 for ; Mon, 2 Jun 2025 12:03:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A3C810E1C2; Mon, 2 Jun 2025 12:03:15 +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="JGu0DuQv"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 799C510E1C2 for ; Mon, 2 Jun 2025 12:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1748865793; x=1780401793; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FiMVvCx8SXkDJBEdUlQ1jZFqCZEJVZUiugf3ETpp51k=; b=JGu0DuQvO6T75C7yo/zkEcZIpCqp06jXuZE6zDyG2LZ8Av5JYViGTIy9 V7xhaKSGB6GwDy+3KXWVsS1vnMIriCEtnQ3j/DZH6h1sjRXpBRZpsB1ZW iN5KtSjKJ5lEwyIVMfaSaFZKQo3Ziq3lb+LQGQ5osh5Ilwcjc0XSaT81I zgP5MSg7lryWkNSFbS6zIpsYakq00O3f+qasLGjm6qPlVGCtD+80Ztu4N TkAh4K0DWEmMPXe3ESchDW6HefNM6XuP6A6WJtB8wmSWiQsJdsE+/Hnk0 dD1Fu6lxYnj6TItUumBMU0GM6Iv2V3sBwI813hOOAdF2tAQ2UarDiHWNN w==; X-CSE-ConnectionGUID: 4n/j6EqzSY6kwuaMqVgSjg== X-CSE-MsgGUID: mUuZaAjTQEWanOf+GSSfkQ== X-IronPort-AV: E=McAfee;i="6700,10204,11451"; a="50872666" X-IronPort-AV: E=Sophos;i="6.16,203,1744095600"; d="scan'208";a="50872666" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2025 05:03:11 -0700 X-CSE-ConnectionGUID: YxYYvEqySsG7gkvI8YcXhg== X-CSE-MsgGUID: M07S3oJUSdW+Cdl8B5aspg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,203,1744095600"; d="scan'208";a="149360152" Received: from anirban-z690i-a-ultra-plus.iind.intel.com ([10.190.216.83]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2025 05:03:09 -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, v8, 0/2] tests/i915/pm_rc6_residency: Use sysfs to achieve peak frequency Date: Mon, 2 Jun 2025 17:33:48 +0530 Message-ID: <20250602120347.62189-4-sk.anirban@intel.com> X-Mailer: git-send-email 2.43.0 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" Leverage IGT spinner to trigger frequency scaling and set RPS minimum frequency to RP0 for achieving peak frequency. This method replaces the existing waitboost mechanism used to reach maximum frequency. Restrict the power consumption test to GT0 alone, since we're evaluating the power usage for the entire GPU at once. v4: - Cosmetic changes (Riana) v6: - Fix frequency restoration (Riana) v7: - Fix variable scope (Riana) v8: - Fix signal handler (Kamil) Signed-off-by: Sk Anirban Reviewed-by: Riana Tauro Sk Anirban (2): tests/i915/pm_rc6_residency: Use sysfs to achieve peak frequency HAX: Add rc6-idle tests to fast feedback list tests/intel-ci/fast-feedback.testlist | 1 + tests/intel/i915_pm_rc6_residency.c | 117 +++++++++++++++++--------- 2 files changed, 79 insertions(+), 39 deletions(-) -- 2.43.0