diff options
author | Dale B Stimson <dale.b.stimson@intel.com> | 2022-10-13 18:45:23 +0300 |
---|---|---|
committer | Anshuman Gupta <anshuman.gupta@intel.com> | 2022-10-17 12:23:50 +0300 |
commit | c41b8bdcc2973ca10c6f5c5c60d007a41f080a89 (patch) | |
tree | c4ed51a3a1d3b8bcef720f6988022f33262de7a5 /Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon | |
parent | 99f55efb79114f7bc38e9c769f06f5bacb5e9d21 (diff) | |
download | linux-c41b8bdcc2973ca10c6f5c5c60d007a41f080a89.tar.xz |
drm/i915/hwmon: Show device level energy usage
Use i915 HWMON to display device level energy input.
v2: Updated the date and kernel version in feature description
v3:
- Cleaned up hwm_energy function and removed unused function
i915_hwmon_energy_status_get (Ashutosh)
v4: KernelVersion: 6.2, Date: February 2023 in doc (Tvrtko)
v5: Change contact to intel-gfx (Rodrigo)
Change return type of hwm_energy to void (Andi)
Signed-off-by: Dale B Stimson <dale.b.stimson@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Riana Tauro <riana.tauro@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>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221013154526.2105579-5-ashutosh.dixit@intel.com
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon')
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon index e0b1af4ec6d8..aa00c558495b 100644 --- a/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +++ b/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon @@ -25,3 +25,11 @@ 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>/energy1_input +Date: February 2023 +KernelVersion: 6.2 +Contact: intel-gfx@lists.freedesktop.org +Description: RO. Energy input of device in microjoules. + + Only supported for particular Intel i915 graphics platforms. |