Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/xe: Add psmi support
@ 2025-07-16 20:55 Lucas De Marchi
  2025-07-16 20:55 ` [PATCH 1/4] drm/xe/psmi: Add setting of PSMI feature flag Lucas De Marchi
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Lucas De Marchi @ 2025-07-16 20:55 UTC (permalink / raw)
  To: intel-xe
  Cc: Lucas De Marchi, Matt Roper, Daniele Ceraolo Spurio,
	John Harrison, Brian Welty, Vinay Belgaumkar, Badal Nilawar,
	Sai Teja Pottumuttu

Add PSMI support to aid debugging. More information about PSMI is in the
second patch. This brings the initial implementation to drm-tip so it's
also easy to debug and enable things early directly upstream.

Opens:
 - Expose the toggle via configfs rather than module param? I'm leaning
   towards this for v2 as we may have multiple cards and want to debug a
   single one. It also matches nicely with the latest configurations we
   added there.
 - Expose the allocation request via configs rather than debugfs: this
   would part ways with configfs being for early-init things. I'm
   leaning against this and just leave that in debugfs
 - Add match for RTP to enable WA only if certain feature is enabled
   (like psmi): I'm leaning towards this so we don't enable WAs that are
   not necessary in normal non-debugging scenarios

I will start preparing a v2 soon with the items above. Opinions on those
are appreciated.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
Badal Nilawar (1):
      drm/xe/psmi: Enable GuC Wa_14020001231

Lucas De Marchi (2):
      drm/xe/psmi: Add setting of PSMI feature flag
      drm/xe/psmi: Add debugfs interface for allocation of PSMI capture buffers

Vinay Belgaumkar (1):
      drm/xe/psmi: Add Wa_16023683509

 drivers/gpu/drm/xe/Makefile           |   1 +
 drivers/gpu/drm/xe/abi/guc_klvs_abi.h |   1 +
 drivers/gpu/drm/xe/xe_debugfs.c       |   3 +
 drivers/gpu/drm/xe/xe_device.c        |   3 +
 drivers/gpu/drm/xe/xe_device_types.h  |   7 +
 drivers/gpu/drm/xe/xe_guc.c           |   7 +
 drivers/gpu/drm/xe/xe_guc_ads.c       |   5 +
 drivers/gpu/drm/xe/xe_guc_fwif.h      |   2 +
 drivers/gpu/drm/xe/xe_module.c        |   3 +
 drivers/gpu/drm/xe/xe_module.h        |   1 +
 drivers/gpu/drm/xe/xe_psmi.c          | 297 ++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_psmi.h          |  15 ++
 drivers/gpu/drm/xe/xe_wa_oob.rules    |   6 +
 13 files changed, 351 insertions(+)

base-commit: cd8f387cae3dc97c924db689b4849c83249c3b9d
change-id: 20250618-psmi-9f270bf67895

Lucas De Marchi


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

end of thread, other threads:[~2025-08-21 17:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 20:55 [PATCH 0/4] drm/xe: Add psmi support Lucas De Marchi
2025-07-16 20:55 ` [PATCH 1/4] drm/xe/psmi: Add setting of PSMI feature flag Lucas De Marchi
2025-08-21 17:24   ` Matt Atwood
2025-07-16 20:55 ` [PATCH 2/4] drm/xe/psmi: Add debugfs interface for allocation of PSMI capture buffers Lucas De Marchi
2025-07-16 20:55 ` [PATCH 3/4] drm/xe/psmi: Enable GuC Wa_14020001231 Lucas De Marchi
2025-07-16 20:55 ` [PATCH 4/4] drm/xe/psmi: Add Wa_16023683509 Lucas De Marchi
2025-07-16 21:05 ` ✗ CI.checkpatch: warning for drm/xe: Add psmi support Patchwork
2025-07-16 21:07 ` ✓ CI.KUnit: success " Patchwork
2025-07-16 21:58 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-17 19:19 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-17 19:47 ` [PATCH 0/4] " Rodrigo Vivi

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