All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] drm/xe/hwmon: Add mailbox power limits, PL2, read energy from PMT
@ 2025-05-06 15:30 Karthik Poosa
  2025-05-06 15:30 ` [PATCH v4 1/5] drm/xe/hwmon: Add support to manage power limits though mailbox Karthik Poosa
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Karthik Poosa @ 2025-05-06 15:30 UTC (permalink / raw)
  To: intel-xe
  Cc: anshuman.gupta, badal.nilawar, riana.tauro, ashutosh.dixit,
	rodrigo.vivi, michael.j.ruhl, Karthik Poosa

Add support manage power limits through pcode mailboxes.
Enable PL2 support through powerX_cap.
Expose PL2 interval through powerX_cap_interval.
Read energy status from PMT instead of MMIO.
Move power2_crit to power1_crit.

v2:
 - Addressed review comments from Badal.
 - Clamp the power limits maximum to BIOS default value due to
   HSD:16027383332.

RFC patch: https://patchwork.freedesktop.org/series/148148/

Karthik Poosa (5):
  drm/xe/hwmon: Add support to manage power limits though mailbox
  drm/xe/hwmon: Move card reactive critical power under channel card
  drm/xe/hwmon: Add support to manage PL2 though mailbox
  drm/xe/hwmon: Expose powerX_cap_interval
  drm/xe/hwmon: Read energy status from PMT

 .../ABI/testing/sysfs-driver-intel-xe-hwmon   |  64 ++-
 drivers/gpu/drm/xe/regs/xe_mchbar_regs.h      |  10 +-
 drivers/gpu/drm/xe/regs/xe_pcode_regs.h       |   9 +-
 drivers/gpu/drm/xe/regs/xe_pmt.h              |   2 +
 drivers/gpu/drm/xe/xe_device_types.h          |   4 +
 drivers/gpu/drm/xe/xe_hwmon.c                 | 475 +++++++++++++-----
 drivers/gpu/drm/xe/xe_pci.c                   |   5 +
 drivers/gpu/drm/xe/xe_pcode.c                 |  11 +
 drivers/gpu/drm/xe/xe_pcode.h                 |   3 +
 drivers/gpu/drm/xe/xe_pcode_api.h             |   7 +
 drivers/gpu/drm/xe/xe_vsec.c                  |   4 +-
 drivers/gpu/drm/xe/xe_vsec.h                  |   4 +
 12 files changed, 465 insertions(+), 133 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2025-05-26 16:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 15:30 [PATCH v4 0/5] drm/xe/hwmon: Add mailbox power limits, PL2, read energy from PMT Karthik Poosa
2025-05-06 15:30 ` [PATCH v4 1/5] drm/xe/hwmon: Add support to manage power limits though mailbox Karthik Poosa
2025-05-06 15:30 ` [PATCH v4 2/5] drm/xe/hwmon: Move card reactive critical power under channel card Karthik Poosa
2025-05-06 15:30 ` [PATCH v4 3/5] drm/xe/hwmon: Add support to manage PL2 though mailbox Karthik Poosa
2025-05-06 15:30 ` [PATCH v4 4/5] drm/xe/hwmon: Expose powerX_cap_interval Karthik Poosa
2025-05-06 15:30 ` [PATCH v4 5/5] drm/xe/hwmon: Read energy status from PMT Karthik Poosa
2025-05-07 11:04   ` Jani Nikula
2025-05-06 17:15 ` ✓ CI.Patch_applied: success for drm/xe/hwmon: Add mailbox power limits, PL2, read energy from PMT (rev2) Patchwork
2025-05-06 17:15 ` ✓ CI.checkpatch: " Patchwork
2025-05-06 17:17 ` ✓ CI.KUnit: " Patchwork
2025-05-06 17:25 ` ✓ CI.Build: " Patchwork
2025-05-06 17:27 ` ✗ CI.Hooks: failure " Patchwork
2025-05-06 17:28 ` ✓ CI.checksparse: success " Patchwork
2025-05-06 17:55 ` ✗ Xe.CI.BAT: failure " Patchwork
2025-05-06 22:49 ` ✗ Xe.CI.Full: " Patchwork
2025-05-26 16:11 ` ✓ CI.Patch_applied: success " Patchwork
2025-05-26 16:12 ` ✓ CI.checkpatch: " Patchwork
2025-05-26 16:13 ` ✓ CI.KUnit: " Patchwork
2025-05-26 16:23 ` ✓ CI.Build: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.