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

Dixit, Ashutosh ashutosh.dixit at intel.com
Wed Dec 14 03:11:33 UTC 2022


On Tue, 13 Dec 2022 18:13:17 -0800, Dixit, Ashutosh wrote:
>
> On Tue, 13 Dec 2022 10:37:24 -0800, Ashutosh Dixit wrote:
> >
> > 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.
>
> Please do *NOT* review this or previous versions of these patches. I am
> sending out a new version with some changes soon.

Please review v4. In v4 I have dropped 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.

So please don't review v1 through v3, please only review v4.

Thanks.
--
Ashutosh


More information about the igt-dev mailing list