public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes
@ 2022-12-15  2:31 Ashutosh Dixit
  2022-12-15  2:31 ` [igt-dev] [PATCH i-g-t 1/3] lib/igt_sysfs: Generic verification of writable sysfs attributes Ashutosh Dixit
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Ashutosh Dixit @ 2022-12-15  2:31 UTC (permalink / raw)
  To: igt-dev; +Cc: Badal Nilawar

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.

v2: Added new patch "lib/igt_sysfs: Make it easier to extend verification
    of clamped sysfs attr". No changes to previous patches.
v3: Identical to v2, failed to copy reviewers
v4: Drop the concept of a 'clamped' sysfs attribute, it is not
    necessary. All we need is a writable attribute for which the read
    values will match the written values for a few points across the range
    of all possible values.
v5: Dropped function rw_attr_reverify_points since it was repeating the
    verification already done during the sweep so has limited utility. This
    results in simplifying the code even more.

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

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

-- 
2.38.0

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes
@ 2022-12-14  3:09 Ashutosh Dixit
  2022-12-14  3:09 ` [igt-dev] [PATCH i-g-t 3/3] HAX: Add i915_hwmon* to fast-feedback.testlist Ashutosh Dixit
  0 siblings, 1 reply; 11+ messages in thread
From: Ashutosh Dixit @ 2022-12-14  3:09 UTC (permalink / raw)
  To: igt-dev; +Cc: Badal Nilawar

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.

v2: Added new patch "lib/igt_sysfs: Make it easier to extend verification
    of clamped sysfs attr". No changes to previous patches.
v3: Identical to v2, failed to copy reviewers
v4: Drop the concept of a 'clamped' sysfs attribute, it is not
    necessary. All we need is a writable attribute for which the read
    values will match the written values for a few points across the range
    of all possible values.

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

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

-- 
2.38.0

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes
@ 2022-12-12  6:12 Ashutosh Dixit
  2022-12-12  6:12 ` [igt-dev] [PATCH i-g-t 3/3] HAX: Add i915_hwmon* to fast-feedback.testlist Ashutosh Dixit
  0 siblings, 1 reply; 11+ messages in thread
From: Ashutosh Dixit @ 2022-12-12  6:12 UTC (permalink / raw)
  To: igt-dev; +Cc: Badal Nilawar

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-12-16 10:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15  2:31 [igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes Ashutosh Dixit
2022-12-15  2:31 ` [igt-dev] [PATCH i-g-t 1/3] lib/igt_sysfs: Generic verification of writable sysfs attributes Ashutosh Dixit
2022-12-15 11:49   ` Tauro, Riana
2022-12-15 18:20     ` Dixit, Ashutosh
2022-12-15  2:31 ` [igt-dev] [PATCH i-g-t 2/3] i915/i915_hwmon: General verification of hwmon attributes Ashutosh Dixit
2022-12-15  5:30   ` Tauro, Riana
2022-12-15  2:31 ` [igt-dev] [PATCH i-g-t 3/3] HAX: Add i915_hwmon* to fast-feedback.testlist Ashutosh Dixit
2022-12-15  3:08 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/i915_hwmon: General verification of hwmon attributes (rev5) Patchwork
2022-12-16 10:43 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2022-12-14  3:09 [igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes Ashutosh Dixit
2022-12-14  3:09 ` [igt-dev] [PATCH i-g-t 3/3] HAX: Add i915_hwmon* to fast-feedback.testlist Ashutosh Dixit
2022-12-12  6:12 [igt-dev] [PATCH i-g-t 0/3] i915/i915_hwmon: General verification of hwmon attributes Ashutosh Dixit
2022-12-12  6:12 ` [igt-dev] [PATCH i-g-t 3/3] HAX: Add i915_hwmon* to fast-feedback.testlist Ashutosh Dixit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox