Re: [PATCH v7 2/3] drm/i915/hwmon: Add helper function to obtain energy values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 07 Dec 2022 03:21:03 -0800, Riana Tauro wrote:
>
> Add an interface to obtain hwmon energy values. The function returns
> per-gt energy if gt level energy is available else returns the package
> level energy if there is a single gt.
> This is used by selftests to verify power consumption
>
> v2 : use i915_hwmon prefix (Anshuman)
> v3 : re-use is_visible function of energy to remove
>      redundant code (Anshuman)
> v4 : fix kernel-doc (Anshuman)
>      add per-gt hwmon support (Ashutosh)
> v5 : add check to return package level energy only when there
>      is a single gt and gt level energy is not available. (Ashutosh)

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@xxxxxxxxx>



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux