diff options
author | Raag Jadav <raag.jadav@intel.com> | 2024-09-10 12:52:42 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2024-09-13 11:21:16 +0200 |
commit | 0f47fed5c30f178e2db3222597abbba23ff3b6ff (patch) | |
tree | 9aaf086450cc54bc9dfaa0f36492c2b7d149c355 /io_uring/tctx.c | |
parent | drm/i915/display: move dmc snapshotting to new display snapshot (diff) | |
download | linux-0f47fed5c30f178e2db3222597abbba23ff3b6ff.tar.xz linux-0f47fed5c30f178e2db3222597abbba23ff3b6ff.zip |
drm/i915/hwmon: expose package temperature
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
Diffstat (limited to 'io_uring/tctx.c')
0 files changed, 0 insertions, 0 deletions