[PATCH v3] drm/i915/hwmon: expose package temperature

Raag Jadav raag.jadav at intel.com
Fri Sep 13 08:51:22 UTC 2024


On Fri, Sep 13, 2024 at 11:14:22AM +0530, Riana Tauro wrote:
> On 9/10/2024 4:22 PM, Raag Jadav wrote:
> > 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 at intel.com>
> > Reviewed-by: Anshuman Gupta <anshuman.gupta at intel.com>
> > Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
> Looks good to me
> Reviewed-by: Riana Tauro <riana.tauro at intel.com>

Thank you :)

Andi, can you pick this one up? Anshuman's machine is down.

Raag


More information about the Intel-gfx mailing list