From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39F5410E3CB for ; Mon, 17 Oct 2022 22:39:14 +0000 (UTC) Date: Mon, 17 Oct 2022 15:38:55 -0700 Message-ID: <87a65ujcsg.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Riana Tauro In-Reply-To: <20221017053524.2538178-1-riana.tauro@intel.com> References: <20221017053524.2538178-1-riana.tauro@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 v3 0/8] Add hwmon energy support for dgfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org, petri.latvala@intel.com, badal.nilawar@intel.com Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Sun, 16 Oct 2022 22:35:16 -0700, Riana Tauro wrote: > Hi Riana, > 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 > Rev3: Add tests temporarily to BAT to test hwmon kernel series > Rev4: Identical to v3, sending again in order to "Test-with" kernel > hwmon series > Rev5: Add license to igt_hwmon files Thanks for the patches. The series is merged now (since the kernel series is also merged) except for the last HAX patch. Thanks. -- Ashutosh > Riana Tauro (8): > 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 > HAX: run i915_pm_rc6_residency tests in BAT > > lib/igt_hwmon.c | 74 +++++++++ > lib/igt_hwmon.h | 13 ++ > 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 ++++---- > tests/intel-ci/fast-feedback.testlist | 2 + > 11 files changed, 394 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 >