From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id F1F6110E326 for ; Tue, 17 Jan 2023 19:09:28 +0000 (UTC) Date: Tue, 17 Jan 2023 11:09:27 -0800 Message-ID: <87ilh5ou54.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: igt-dev@lists.freedesktop.org In-Reply-To: <20230114170548.559171-1-ashutosh.dixit@intel.com> References: <20230114170548.559171-1-ashutosh.dixit@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH i-g-t] i915/i915_hwmon: Measure dGfx power with hwmon List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Badal Nilawar Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Sat, 14 Jan 2023 09:05:48 -0800, Ashutosh Dixit wrote: > > In several instances (e.g. when investigating GPU power limits) it is very > useful to be able to measure GPU power easily. Since we already have all > ingridients for doing so, add a couple of hwmon tests to measure dGfx power > when idle and power under load. > > v2: Changed tests names from hwmon-power-idle/busy to power-idle/busy One issue I thought with this patch was that the IGT power library works for both integrated as well as discrete. Therefore to add this power measurement only for dGfx/hwmon is unnecessarily restrictive. Therefore I have now removed this dGfx/hwmon restriction and submitted a new patch here where power measurement should now work for both integrated and discrete: https://patchwork.freedesktop.org/series/112962/ Thanks. -- Ashutosh