Skip to content

Add HWMON support for DGFX

Badal Nilawar intel-xe linux-hwmon 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 26 repliesIn review
  2. v56 patches 17 repliesSuperseded
  3. v46 patches 7 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches25 repliesSuperseded
v26 patches27 repliesSuperseded
v1 RFC6 patches11 repliesSuperseded

Changes in v6 from the cover letter

- Dropped XE_MISSING_CASE patch
- Fix couple of review comments

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe/hwmon: Expose power attributesDocumentation/ABI/testing/sysfs-driver-intel-xe-hwmon drivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/regs/xe_gt_regs.h +5 more+443 -016 replies
2/5drm/xe/hwmon: Expose card reactive critical powerDocumentation/ABI/testing/sysfs-driver-intel-xe-hwmon drivers/gpu/drm/xe/xe_hwmon.c drivers/gpu/drm/xe/xe_pcode.h +1 more+142 -11 reply
3/5drm/xe/hwmon: Expose input voltage attributeDocumentation/ABI/testing/sysfs-driver-intel-xe-hwmon drivers/gpu/drm/xe/regs/xe_gt_regs.h drivers/gpu/drm/xe/xe_hwmon.c+67 -01 reply
4/5drm/xe/hwmon: Expose hwmon energy attributeDocumentation/ABI/testing/sysfs-driver-intel-xe-hwmon drivers/gpu/drm/xe/regs/xe_gt_regs.h drivers/gpu/drm/xe/regs/xe_mchbar_regs.h +1 more+116 -11 reply
5/5drm/xe/hwmon: Expose power1_max_intervalDocumentation/ABI/testing/sysfs-driver-intel-xe-hwmon drivers/gpu/drm/xe/regs/xe_mchbar_regs.h drivers/gpu/drm/xe/xe_hwmon.c+156 -17 replies

Reviews trailers per patch

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

PatchRodrigo ViviRiana TauroHimal Prasad GhimirayAndi Shyti
1/5A-b R-b R-b
2/5A-b R-b R-b
3/5A-b R-b R-b
4/5A-b R-b R-b
5/5A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [Intel-xe] [PATCH v6 0/5] Add HWMON support for DGFX

This series adds the hwmon support on xe driver for DGFX. This is ported from i915 hwmon.

v3: Fix review comments (Matt Brost/Andi)

v4:
- Squashed "Add HWMON infrastructure" patch to "Expose power attributes"
- Dropped changes related to disable PL1 to boost firmware loading. Will handle it saperate patch/series.
- Dropped changes related to gt specific energy attributes.
Will handle gt specific energy attributes in saperate patch/series with design change suggested by Guenter
- Fix review comments (Andi/Guenter)

v5: Rebased and clean up

v6:
- Dropped XE_MISSING_CASE patch
- Fix couple of review comments

Badal Nilawar (5):
drm/xe/hwmon: Expose power attributes drm/xe/hwmon: Expose card reactive critical power drm/xe/hwmon: Expose input voltage attribute drm/xe/hwmon: Expose hwmon energy attribute drm/xe/hwmon: Expose power1_max_interval

 .../ABI/testing/sysfs-driver-intel-xe-hwmon   |  72 ++
 drivers/gpu/drm/xe/Makefile                   |   3 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |   9 +
 drivers/gpu/drm/xe/regs/xe_mchbar_regs.h      |  44 +
 drivers/gpu/drm/xe/xe_device.c                |   3 +
 drivers/gpu/drm/xe/xe_device_types.h          |   2 +
 drivers/gpu/drm/xe/xe_hwmon.c                 | 757 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_hwmon.h                 |  19 +
 drivers/gpu/drm/xe/xe_pcode.h                 |   5 +
 drivers/gpu/drm/xe/xe_pcode_api.h             |   7 +
 10 files changed, 921 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon
 create mode 100644 drivers/gpu/drm/xe/regs/xe_mchbar_regs.h
 create mode 100644 drivers/gpu/drm/xe/xe_hwmon.c
 create mode 100644 drivers/gpu/drm/xe/xe_hwmon.h
Signature · 1 line
2.25.1