[igt-dev] [PATCH i-g-t v2 0/7] Add hwmon energy support for dgfx

Gupta, Anshuman anshuman.gupta at intel.com
Mon Sep 19 14:03:56 UTC 2022



> -----Original Message-----
> From: Tauro, Riana <riana.tauro at intel.com>
> Sent: Wednesday, September 14, 2022 7:37 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Tauro, Riana <riana.tauro at intel.com>; Gupta, Anshuman
> <anshuman.gupta at intel.com>; Dixit, Ashutosh <ashutosh.dixit at intel.com>;
> Nilawar, Badal <badal.nilawar at intel.com>
> Subject: [PATCH i-g-t v2 0/7] Add hwmon energy support for dgfx
It seems we don't have DG2/DG1 in shards CI execution.
Could you please temporary move the IGT subtest used by HWMON to BAT list in order to get CI results.
Please follow section " Forcing Tests In BAT And Changing Configuration" from https://intel-gfx-ci.01.org/
@Nilawar, Badal you may need to re-float the hwmon kernel series again with Test-with updated IGT series to get
the CI result.

Thanks,
Anshuman Gupta.
> 
> Introduce igt_power library that reads energy from hwmon & rapl interfaces.
> Replace igt_rapl with igt_power.
> 
> Modify the existing tests that use igt_rapl to igt_power.
> 
> Rev2 : Re-order patches to fix compilation
> 
> Riana Tauro (7):
>   lib/igt_hwmon: Introduce library igt_hwmon
>   lib/igt_power: Rename lib igt_rapl with igt_power
>   lib/igt_power: Add hwmon interface to igt_power
>   i915/i915_pm_rc6_residency: Add energy support for dgfx
>   i915/gem_exec_schedule: Add energy support for dgfx
>   i915/gem_exec_whisper: Add energy support for dgfx
>   lib/igt_power: clean-up igt_power library
> 
>  lib/igt_hwmon.c                    |  73 ++++++++++
>  lib/igt_hwmon.h                    |  12 ++
>  lib/igt_power.c                    | 211 +++++++++++++++++++++++++++++
>  lib/{igt_rapl.h => igt_power.h}    |  78 +++--------
>  lib/igt_rapl.c                     |  69 ----------
>  lib/meson.build                    |   3 +-
>  tests/i915/gem_exec_fair.c         |   1 -
>  tests/i915/gem_exec_schedule.c     |  51 ++++---
>  tests/i915/gem_exec_whisper.c      |  16 ++-
>  tests/i915/i915_pm_rc6_residency.c |  65 +++++----
>  10 files changed, 390 insertions(+), 189 deletions(-)  create mode 100644
> lib/igt_hwmon.c  create mode 100644 lib/igt_hwmon.h  create mode 100644
> lib/igt_power.c  rename lib/{igt_rapl.h => igt_power.h} (51%)  delete mode
> 100644 lib/igt_rapl.c
> 
> --
> 2.25.1



More information about the igt-dev mailing list