[PATCH v2 0/7] drm/xe: Add psmi support

Lucas De Marchi lucas.demarchi at intel.com
Thu Jul 24 01:04:21 UTC 2025


Add PSMI support to aid debugging. More information about PSMI is in the
second patch.

Expose the toggle to enable it via configfs, which allows to debug just
one of the possible cards attached.

The allocation requests, as a runtime debugging configuration stays
in debugfs.

In order to apply WAs conditionally to using PSMI, a new
RTP match is also added.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
Changes in v2:
- configfs
- some refactors as noted on individual patches
- Link to v1: https://lore.kernel.org/r/20250716-psmi-v1-0-674c13d7028e@intel.com
---
Badal Nilawar (1):
      drm/xe/psmi: Add Wa_14020001231

Lucas De Marchi (5):
      drm/xe/psmi: Add GuC flag to enable PSMI
      drm/xe/psmi: Add debugfs interface for PSMI
      drm/xe/rtp: Add match for psmi
      drm/xe/configfs: Simplify kernel doc
      drm/xe/configfs: Allow to enable PSMI

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_configfs.c      |  74 ++++++--
 drivers/gpu/drm/xe/xe_configfs.h      |   2 +
 drivers/gpu/drm/xe/xe_debugfs.c       |   3 +
 drivers/gpu/drm/xe/xe_device.c        |   5 +
 drivers/gpu/drm/xe/xe_device_types.h  |   8 +
 drivers/gpu/drm/xe/xe_guc.c           |  10 +-
 drivers/gpu/drm/xe/xe_guc_ads.c       |   5 +
 drivers/gpu/drm/xe/xe_guc_fwif.h      |   2 +
 drivers/gpu/drm/xe/xe_psmi.c          | 313 ++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_psmi.h          |  14 ++
 drivers/gpu/drm/xe/xe_rtp.c           |   7 +
 drivers/gpu/drm/xe/xe_rtp.h           |   3 +
 drivers/gpu/drm/xe/xe_wa_oob.rules    |   6 +
 15 files changed, 440 insertions(+), 14 deletions(-)

base-commit: 10ed8e2e5529207fe710c22898b0c09ef7f16b0f
change-id: 20250618-psmi-9f270bf67895

Lucas De Marchi



More information about the Intel-xe mailing list