intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Expose power1_cap_max
@ 2026-11-23 17:02 Karthik Poosa
  2026-11-23 17:02 ` [PATCH v3 1/2] drm/xe/hwmon: Expose powerX_cap_max Karthik Poosa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Karthik Poosa @ 2026-11-23 17:02 UTC (permalink / raw)
  To: intel-xe
  Cc: rodrigo.vivi, anshuman.gupta, badal.nilawar, raag.jadav,
	riana.tauro, sk.anirban, mallesh.koujalagi, soham.purkait,
	ravi.kishore.koppuravuri, Karthik Poosa

This series adds a power<i>_cap_max attribute and improves how mailbox
power limits are handled when a boot-time limit read fails.

Patch 1 adds a read-only power<i>_cap_max attribute for the card and
package channels. It reports the PL2 limit that firmware sets at boot,
which is the highest value userspace can write to power<i>_cap.

Patch 2 always sets the mailbox power, energy and time units. Before,
they stayed 0 if any boot-time limit read failed, so power was reported
incorrectly. It also bases power_max/power_cap visibility on the boot
limits. That way, an attribute whose boot read failed can no longer be
written, which would have set a 0 limit.

v1: https://patchwork.freedesktop.org/series/179047/

v2:
- Update KernelVersion to 7.5 in Xe hwmon documentation. (Rodrigo)
- Add patch 2 to address review comments from Sashiko.

Karthik Poosa (2):
  drm/xe/hwmon: Expose powerX_cap_max
  drm/xe/hwmon: Improve mailbox power limit init and visibility

 .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 24 +++++++++++++++++
 drivers/gpu/drm/xe/xe_hwmon.c                 | 27 +++++++++++++------
 2 files changed, 43 insertions(+), 8 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-11-25 18:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 17:02 [PATCH v2 0/2] Expose power1_cap_max Karthik Poosa
2026-11-23 17:02 ` [PATCH v3 1/2] drm/xe/hwmon: Expose powerX_cap_max Karthik Poosa
2026-11-24 12:25   ` Mallesh, Koujalagi
2026-11-23 17:02 ` [PATCH v3 2/2] drm/xe/hwmon: Improve mailbox power limit init and visibility Karthik Poosa
2026-11-25 17:02   ` Rodrigo Vivi
2026-11-23 17:14 ` ✗ CI.KUnit: failure for Expose power1_cap_max (rev2) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).