mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
0f47fed5c3
Add hwmon support for temp1_input attribute, which will expose package temperature in millidegree Celsius. With this in place we can monitor package temperature using lm-sensors tool. $ sensors i915-pci-0300 Adapter: PCI adapter in0: 990.00 mV fan1: 1260 RPM temp1: +45.0°C power1: N/A (max = 35.00 W) energy1: 12.62 kJ v2: Use switch case (Anshuman) v3: Comment adjustment (Riana) Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11276 Signed-off-by: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Riana Tauro <riana.tauro@intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240910105242.3357276-1-raag.jadav@intel.com
94 lines
3.4 KiB
Plaintext
94 lines
3.4 KiB
Plaintext
What: /sys/bus/pci/drivers/i915/.../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/bus/pci/drivers/i915/.../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. A read value of 0 means that the PL1
|
|
power limit is disabled, writing 0 disables the
|
|
limit. Writing values > 0 will enable the power limit.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/i915/.../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/bus/pci/drivers/i915/.../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/bus/pci/drivers/i915/.../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/bus/pci/drivers/i915/.../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/bus/pci/drivers/i915/.../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.
|
|
|
|
What: /sys/bus/pci/drivers/i915/.../hwmon/hwmon<i>/fan1_input
|
|
Date: November 2024
|
|
KernelVersion: 6.12
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RO. Fan speed of device in RPM.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|
|
|
|
What: /sys/bus/pci/drivers/i915/.../hwmon/hwmon<i>/temp1_input
|
|
Date: November 2024
|
|
KernelVersion: 6.12
|
|
Contact: intel-gfx@lists.freedesktop.org
|
|
Description: RO. GPU package temperature in millidegree Celsius.
|
|
|
|
Only supported for particular Intel i915 graphics platforms.
|