Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Expose power1_cap_max
@ 2026-11-23 14:08 Karthik Poosa
  2026-11-23 14:08 ` [PATCH v2 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 14:08 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                 | 21 +++++++++++-----
 2 files changed, 39 insertions(+), 6 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-11-23 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 14:08 [PATCH v2 0/2] Expose power1_cap_max Karthik Poosa
2026-11-23 14:08 ` [PATCH v2 1/2] drm/xe/hwmon: Expose powerX_cap_max Karthik Poosa
2026-11-23 14:08 ` [PATCH v2 2/2] drm/xe/hwmon: Improve mailbox power limit init and visibility Karthik Poosa
2026-11-23 14:18   ` sashiko-bot
2026-11-23 15:35     ` Poosa, Karthik
2026-11-23 14:57 ` ✗ CI.KUnit: failure for Expose power1_cap_max Patchwork

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