[Intel-xe] [PATCH v3 0/6] Add HWMON support for DGFX
Badal Nilawar
badal.nilawar at intel.com
Wed Aug 2 13:52:35 UTC 2023
This series adds the hwmon support on xe driver for
DGFX. This is ported from i915 hwmon.
v3: Fix review comments (Matt Brost/Andi)
Badal Nilawar (6):
drm/xe/hwmon: Add HWMON infrastructure
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 | 77 ++
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 | 45 +
drivers/gpu/drm/xe/xe_device.c | 5 +
drivers/gpu/drm/xe/xe_device_types.h | 2 +
drivers/gpu/drm/xe/xe_hwmon.c | 958 ++++++++++++++++++
drivers/gpu/drm/xe/xe_hwmon.h | 26 +
drivers/gpu/drm/xe/xe_macros.h | 3 +
drivers/gpu/drm/xe/xe_pcode.h | 5 +
drivers/gpu/drm/xe/xe_pcode_api.h | 7 +
drivers/gpu/drm/xe/xe_uc.c | 6 +
12 files changed, 1146 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
More information about the Intel-xe
mailing list