mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-06 05:44:20 +08:00
5f16ee27cd
This fixes warnings in xe, i915 hwmon docs: Warning: /sys/devices/.../hwmon/hwmon<i>/curr1_crit is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:35 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:52 Warning: /sys/devices/.../hwmon/hwmon<i>/energy1_input is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:54 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:65 Warning: /sys/devices/.../hwmon/hwmon<i>/in0_input is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:46 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:0 Warning: /sys/devices/.../hwmon/hwmon<i>/power1_crit is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:22 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:39 Warning: /sys/devices/.../hwmon/hwmon<i>/power1_max is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:0 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:8 Warning: /sys/devices/.../hwmon/hwmon<i>/power1_max_interval is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:62 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:30 Warning: /sys/devices/.../hwmon/hwmon<i>/power1_rated_max is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:14 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:22 Use a path containing the driver name to differentiate the documentation of each entry. Fixes:fb1b70607f
("drm/xe/hwmon: Expose power attributes") Fixes:92d44a422d
("drm/xe/hwmon: Expose card reactive critical power") Fixes:fbcdc9d3bf
("drm/xe/hwmon: Expose input voltage attribute") Fixes:71d0a32524
("drm/xe/hwmon: Expose hwmon energy attribute") Fixes:4446fcf220
("drm/xe/hwmon: Expose power1_max_interval") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/all/20240125113345.291118ff@canb.auug.org.au/ Signed-off-by: Badal Nilawar <badal.nilawar@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240127165040.2348009-1-badal.nilawar@intel.com (cherry picked from commit20485e3a81
) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
71 lines
2.6 KiB
Plaintext
71 lines
2.6 KiB
Plaintext
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/power1_max
|
|
Date: September 2023
|
|
KernelVersion: 6.5
|
|
Contact: intel-xe@lists.freedesktop.org
|
|
Description: RW. Card reactive sustained (PL1) power limit in microwatts.
|
|
|
|
The power controller will throttle the operating frequency
|
|
if the power averaged over a window (typically seconds)
|
|
exceeds this limit. A read value of 0 means that the PL1
|
|
power limit is disabled, writing 0 disables the
|
|
limit. Writing values > 0 and <= TDP will enable the power limit.
|
|
|
|
Only supported for particular Intel xe graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/power1_rated_max
|
|
Date: September 2023
|
|
KernelVersion: 6.5
|
|
Contact: intel-xe@lists.freedesktop.org
|
|
Description: RO. Card default power limit (default TDP setting).
|
|
|
|
Only supported for particular Intel xe graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/power1_crit
|
|
Date: September 2023
|
|
KernelVersion: 6.5
|
|
Contact: intel-xe@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 xe graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/curr1_crit
|
|
Date: September 2023
|
|
KernelVersion: 6.5
|
|
Contact: intel-xe@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.
|
|
|
|
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/in0_input
|
|
Date: September 2023
|
|
KernelVersion: 6.5
|
|
Contact: intel-xe@lists.freedesktop.org
|
|
Description: RO. Current Voltage in millivolt.
|
|
|
|
Only supported for particular Intel xe graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/energy1_input
|
|
Date: September 2023
|
|
KernelVersion: 6.5
|
|
Contact: intel-xe@lists.freedesktop.org
|
|
Description: RO. Energy input of device in microjoules.
|
|
|
|
Only supported for particular Intel xe graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/power1_max_interval
|
|
Date: October 2023
|
|
KernelVersion: 6.6
|
|
Contact: intel-xe@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 xe graphics platforms.
|