Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v5 0/6] Add HWMON support for DGFX
@ 2023-09-21 10:25 Badal Nilawar
  2023-09-21 10:25 ` [PATCH v5 1/6] drm/xe: Add XE_MISSING_CASE macro Badal Nilawar
                   ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Badal Nilawar @ 2023-09-21 10:25 UTC (permalink / raw)
  To: intel-xe, linux-hwmon
  Cc: anshuman.gupta, ashutosh.dixit, linux, andi.shyti, riana.tauro,
	matthew.brost, rodrigo.vivi

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

Badal Nilawar (6):
  drm/xe: Add XE_MISSING_CASE macro
  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                 | 758 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_hwmon.h                 |  20 +
 drivers/gpu/drm/xe/xe_macros.h                |   4 +
 drivers/gpu/drm/xe/xe_pcode.h                 |   5 +
 drivers/gpu/drm/xe/xe_pcode_api.h             |   7 +
 11 files changed, 927 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

-- 
2.25.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-09-25 12:08 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 10:25 [PATCH v5 0/6] Add HWMON support for DGFX Badal Nilawar
2023-09-21 10:25 ` [PATCH v5 1/6] drm/xe: Add XE_MISSING_CASE macro Badal Nilawar
2023-09-21 16:03   ` Rodrigo Vivi
2023-09-21 16:59     ` Nilawar, Badal
2023-09-22 10:05       ` [Intel-xe] " Jani Nikula
2023-09-22 15:16     ` Andi Shyti
2023-09-22 15:19       ` Gupta, Anshuman
2023-09-25 12:08         ` [Intel-xe] " Jani Nikula
2023-09-22 19:03       ` Rodrigo Vivi
2023-09-25  4:07         ` Nilawar, Badal
2023-09-21 10:25 ` [PATCH v5 2/6] drm/xe/hwmon: Expose power attributes Badal Nilawar
2023-09-21 13:22   ` Riana Tauro
2023-09-21 16:25   ` [Intel-xe] " Rodrigo Vivi
2023-09-22  9:57     ` Nilawar, Badal
2023-09-22 17:24   ` Andi Shyti
2023-09-25  4:34     ` Nilawar, Badal
2023-09-21 10:25 ` [PATCH v5 3/6] drm/xe/hwmon: Expose card reactive critical power Badal Nilawar
2023-09-21 10:25 ` [PATCH v5 4/6] drm/xe/hwmon: Expose input voltage attribute Badal Nilawar
2023-09-21 10:25 ` [PATCH v5 5/6] drm/xe/hwmon: Expose hwmon energy attribute Badal Nilawar
2023-09-21 14:09   ` Riana Tauro
2023-09-21 10:25 ` [PATCH v5 6/6] drm/xe/hwmon: Expose power1_max_interval Badal Nilawar
2023-09-21 11:43   ` [Intel-xe] " Ghimiray, Himal Prasad
2023-09-22  9:49     ` Nilawar, Badal
2023-09-22 12:43       ` Ghimiray, Himal Prasad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox