[igt-dev] [PATCH i-g-t] i915/i915_hwmon: Measure dGfx power with hwmon

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Jan 17 19:09:27 UTC 2023


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


More information about the igt-dev mailing list