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 4C8F1C5B543 for ; Thu, 5 Jun 2025 20:11:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA44910EA3C; Thu, 5 Jun 2025 20:11:04 +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="kf+zYxvD"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 11CA810EA3B for ; Thu, 5 Jun 2025 20:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1749154264; x=1780690264; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zHjDyrRekZEl0on1dPSHsYyZ9wLzr9nLx2Ayp2Fi82w=; b=kf+zYxvDU+dGyFWFFmUuuVTBk8/v3gR7BEs9DIw/AEo/3DNR6+0lejlw lDkT+nA/ykOXEMnZ++VLLu7jtv1e7wvXVQElo45L93SknA0wAT+c3eRr9 /8A67FGm6J3q09Hgj68xZ4dmOU8O28/AyEV+NNjXKXgR9kmPr+FFX/+7R SUrCd/TE8SNMpd6WnmMkJTPupCGvcDWfN3X+BDDZiDluR74PQ0S+vYsCR Ku7H2QphRHLJwtT7F5194KqUyT6vpfBUygEQJz94AaYcDjveOD5vAQwPA gzDUv5RjivOXhYSwjEYJycYuVx1Um624bWS8hYBQ+wZfWcieEGzFf+z1w w==; X-CSE-ConnectionGUID: L/fTU+tTRuugQKqDHcbGzw== X-CSE-MsgGUID: LLCQl5+jQ7W7alQLQq7DDA== X-IronPort-AV: E=McAfee;i="6800,10657,11455"; a="51437423" X-IronPort-AV: E=Sophos;i="6.16,213,1744095600"; d="scan'208";a="51437423" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2025 13:11:04 -0700 X-CSE-ConnectionGUID: hFB8tvyVTLC3ztmFPNI9Rw== X-CSE-MsgGUID: as+QijOKQ0S032dYb45tOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,213,1744095600"; d="scan'208";a="146582933" Received: from anirban-z690i-a-ultra-plus.iind.intel.com ([10.190.216.83]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2025 13:11:02 -0700 From: Sk Anirban To: igt-dev@lists.freedesktop.org Cc: kamil.konieczny@intel.com, Sk Anirban , Riana Tauro Subject: [i-g-t, v9, 0/3] tests/i915/pm_rc6_residency: Use sysfs to achieve peak frequency Date: Fri, 6 Jun 2025 01:41:22 +0530 Message-ID: <20250605201121.700118-5-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