a6a924abf8
Extend hwmon power/energy for XEHPSDV especially per gt level energy usage. v2: Update to latest HWMON spec (Ashutosh) v3: Fix review comments (Ashutosh) v4: Fix review comments (Anshuman) v5: s/hwmon_device_register_with_info/ devm_hwmon_device_register_with_info/ (Ashutosh) v6: Change contact to intel-gfx (Rodrigo) GEN12_RPSTAT1 is available for all Gen12+ (Andi) Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Dale B Stimson <dale.b.stimson@intel.com> Signed-off-by: Badal Nilawar <badal.nilawar@intel.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221013154526.2105579-8-ashutosh.dixit@intel.com
76 lines
2.6 KiB
Plaintext
76 lines
2.6 KiB
Plaintext
What: /sys/devices/.../hwmon/hwmon<i>/in0_input
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RO. Current Voltage in millivolt.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/devices/.../hwmon/hwmon<i>/power1_max
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RW. Card reactive sustained (PL1/Tau) power limit in microwatts.
|
|
|
|
The power controller will throttle the operating frequency
|
|
if the power averaged over a window (typically seconds)
|
|
exceeds this limit.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/devices/.../hwmon/hwmon<i>/power1_rated_max
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RO. Card default power limit (default TDP setting).
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/devices/.../hwmon/hwmon<i>/power1_max_interval
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RW. Sustained power limit interval (Tau in PL1/Tau) in
|
|
milliseconds over which sustained power is averaged.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/devices/.../hwmon/hwmon<i>/power1_crit
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RW. Card reactive critical (I1) power limit in microwatts.
|
|
|
|
Card reactive critical (I1) power limit in microwatts is exposed
|
|
for client products. The power controller will throttle the
|
|
operating frequency if the power averaged over a window exceeds
|
|
this limit.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/devices/.../hwmon/hwmon<i>/curr1_crit
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RW. Card reactive critical (I1) power limit in milliamperes.
|
|
|
|
Card reactive critical (I1) power limit in milliamperes is
|
|
exposed for server products. The power controller will throttle
|
|
the operating frequency if the power averaged over a window
|
|
exceeds this limit.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/devices/.../hwmon/hwmon<i>/energy1_input
|
|
Date: February 2023
|
|
KernelVersion: 6.2
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RO. Energy input of device or gt in microjoules.
|
|
|
|
For i915 device level hwmon devices (name "i915") this
|
|
reflects energy input for the entire device. For gt level
|
|
hwmon devices (name "i915_gtN") this reflects energy input
|
|
for the gt.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|