[igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes

Ashutosh Dixit
2022-12-12T06:12:38Z

Ensure we can read all hwmon attributes. For writable attributes, also
ensure the read value approximately matches the written value, taking the
clamping of writes into account.

Ashutosh Dixit (3):
lib/igt_sysfs: Generic verification of clamped sysfs attributes
i915/i915_hwmon: General verification of hwmon attributes
HAX: Add i915_hwmon* to fast-feedback.testlist

lib/igt_sysfs.c | 177 ++++++++++++++++++++++++++
lib/igt_sysfs.h | 2 +
tests/i915/i915_hwmon.c | 82 ++++++++++++
tests/intel-ci/fast-feedback.testlist | 2 +
tests/meson.build | 1 +
5 files changed, 264 insertions(+)
create mode 100644 tests/i915/i915_hwmon.c

--
2.38.0