Skip to content

drm/i915: Add HWMON support

Badal Nilawar intel-gfx linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

v2 from the cover letter

- Reorganized series. Created first patch as infrastructure patch followed by feature patches. (Ashutosh)
- Fixed review comments (Jani)
- Fixed review comments (Ashutosh)

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915/hwmon: Add HWMON infrastructuredrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/i915/i915_drv.h +2 more+166 -02 replies
2/7drm/i915/hwmon: Add HWMON current voltage supportDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon drivers/gpu/drm/i915/gt/intel_gt_regs.h drivers/gpu/drm/i915/i915_hwmon.c+57 -08 replies
3/7drm/i915/hwmon: Power PL1 limit and TDP settingDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon drivers/gpu/drm/i915/i915_hwmon.c drivers/gpu/drm/i915/i915_reg.h +1 more+215 -21 reply
4/7drm/i915/hwmon: Show device level energy usageDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon drivers/gpu/drm/i915/i915_hwmon.c drivers/gpu/drm/i915/i915_hwmon.h +1 more+128 -24 replies
5/7drm/i915/hwmon: Expose card reactive critical powerDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon drivers/gpu/drm/i915/i915_hwmon.c drivers/gpu/drm/i915/i915_reg.h+126 -10 replies
6/7drm/i915/hwmon: Expose power1_max_intervalDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon drivers/gpu/drm/i915/i915_hwmon.c drivers/gpu/drm/i915/i915_reg.h +1 more+128 -30 replies
7/7drm/i915/hwmon: Extend power/energy for XEHPSDVDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon drivers/gpu/drm/i915/gt/intel_gt_regs.h drivers/gpu/drm/i915/i915_hwmon.c+128 -41 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGuenter RoeckAshutosh Dixit
1/7A-b R-b
2/7A-b R-b
3/7A-b
4/7A-b R-b
5/7A-b
6/7A-b
7/7A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/7] drm/i915: Add HWMON support

This series adds the HWMON support for DGFX

v2:
- Reorganized series. Created first patch as infrastructure patch followed by feature patches. (Ashutosh)
- Fixed review comments (Jani)
- Fixed review comments (Ashutosh)

v3:
- Fixed review comments from Guenter
- Exposed energy inferface as standard hwmon interface (Ashutosh)
- For power interface added entries for critical power and maintained standard interface for all the entries except power1_max_interval
- Extended support for XEHPSDV (Ashutosh)

v4:
- Fixed review comment from Guenter
- Cleaned up unused code

v5:
- Fixed review comments (Jani)

Ashutosh Dixit (2):
drm/i915/hwmon: Expose card reactive critical power drm/i915/hwmon: Expose power1_max_interval

Dale B Stimson (4):
drm/i915/hwmon: Add HWMON infrastructure
drm/i915/hwmon: Power PL1 limit and TDP setting
drm/i915/hwmon: Show device level energy usage
drm/i915/hwmon: Extend power/energy for XEHPSDV

Riana Tauro (1):
drm/i915/hwmon: Add HWMON current voltage support

 .../ABI/testing/sysfs-driver-intel-i915-hwmon |  75 ++
 drivers/gpu/drm/i915/Makefile                 |   3 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h       |   8 +
 drivers/gpu/drm/i915/i915_driver.c            |   5 +
 drivers/gpu/drm/i915/i915_drv.h               |   2 +
 drivers/gpu/drm/i915/i915_hwmon.c             | 788 ++++++++++++++++++
 drivers/gpu/drm/i915/i915_hwmon.h             |  21 +
 drivers/gpu/drm/i915/i915_reg.h               |  22 +
 drivers/gpu/drm/i915/intel_mchbar_regs.h      |  12 +
 9 files changed, 936 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon
 create mode 100644 drivers/gpu/drm/i915/i915_hwmon.c
 create mode 100644 drivers/gpu/drm/i915/i915_hwmon.h
Signature · 1 line
2.25.1