drm/xe/hwmon: expose package and vram temperature
Add hwmon support for temp2_input and temp3_input attributes, which will expose package and vram temperature in millidegree Celsius. With this in place we can monitor temperature using lm-sensors tool. v2: Reuse existing channels (Badal, Karthik) Signed-off-by:Raag Jadav <raag.jadav@intel.com> Reviewed-by:
Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by:
Badal Nilawar <badal.nilawar@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250131054502.1528555-1-raag.jadav@intel.com Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
Showing
- Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon 16 additions, 0 deletionsDocumentation/ABI/testing/sysfs-driver-intel-xe-hwmon
- drivers/gpu/drm/xe/regs/xe_mchbar_regs.h 3 additions, 0 deletionsdrivers/gpu/drm/xe/regs/xe_mchbar_regs.h
- drivers/gpu/drm/xe/regs/xe_pcode_regs.h 2 additions, 0 deletionsdrivers/gpu/drm/xe/regs/xe_pcode_regs.h
- drivers/gpu/drm/xe/xe_hwmon.c 60 additions, 0 deletionsdrivers/gpu/drm/xe/xe_hwmon.c
Loading
Please register or sign in to comment