Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/13] drm/xe: Add psmi support
@ 2025-08-18 17:37 Lucas De Marchi
  2025-08-18 17:37 ` [PATCH v4 01/13] drm/xe/psmi: Add GuC flag to enable PSMI Lucas De Marchi
                   ` (16 more replies)
  0 siblings, 17 replies; 23+ messages in thread
From: Lucas De Marchi @ 2025-08-18 17:37 UTC (permalink / raw)
  To: intel-xe
  Cc: Lucas De Marchi, prashanth.kumar, dnyaneshwar.bhadane, Matt Roper,
	Daniele Ceraolo Spurio, John Harrison, Vinay Belgaumkar,
	Brian Welty, Badal Nilawar, Riana Tauro, Michal Wajdeczko

Add PSMI support to aid debugging. More information about PSMI is in the
first and second patches.

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

The buffer allocation request is done via debugfs.

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

The rest of the patches are improvements to our configfs integration
that I've been collecting while reviewing other semi-related patches.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
Changes in v4:
- Rebase and handle feedback from reviews as noted in individual patches
- One open is if the reserved buffer needs to be cleared
- Link to v3: https://lore.kernel.org/r/20250808-psmi-v3-0-a111e9f1e4b7@intel.com

Changes in v3:
- Rebase and refactor on multiple configfs changes
- Add patches to log to dmesg when non-default configfs value is found
- Block runtime changes of configfs attributes as they don't have any
  effect
- Improve documentation
- Link to v2: https://lore.kernel.org/r/20250723-psmi-v2-0-84a04b5a3c04@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 (11):
      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
      drm/xe/configfs: Use guard() for dev->lock
      drm/xe/configfs: Block runtime attribute changes
      drm/xe/configfs: Use tree-like output in documentation
      drm/xe/configfs: Improve documentation steps
      drm/xe/configfs: Minor fixes to documentation
      drm/xe/configfs: Dump custom settings when binding

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      | 211 +++++++++++++++++++----
 drivers/gpu/drm/xe/xe_configfs.h      |   4 +
 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       |   4 +
 drivers/gpu/drm/xe/xe_guc_fwif.h      |   2 +
 drivers/gpu/drm/xe/xe_pci.c           |   3 +
 drivers/gpu/drm/xe/xe_psmi.c          | 306 ++++++++++++++++++++++++++++++++++
 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 +
 16 files changed, 555 insertions(+), 33 deletions(-)

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

Lucas De Marchi


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

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

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 17:37 [PATCH v4 00/13] drm/xe: Add psmi support Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 01/13] drm/xe/psmi: Add GuC flag to enable PSMI Lucas De Marchi
2025-08-21 14:47   ` Belgaumkar, Vinay
2025-08-18 17:37 ` [PATCH v4 02/13] drm/xe/psmi: Add debugfs interface for PSMI Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 03/13] drm/xe/rtp: Add match for psmi Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 04/13] drm/xe/psmi: Add Wa_14020001231 Lucas De Marchi
2025-08-20 20:31   ` Matt Atwood
2025-08-18 17:37 ` [PATCH v4 05/13] drm/xe/psmi: Add Wa_16023683509 Lucas De Marchi
2025-08-20 20:42   ` Matt Atwood
2025-08-18 17:37 ` [PATCH v4 06/13] drm/xe/configfs: Simplify kernel doc Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 07/13] drm/xe/configfs: Allow to enable PSMI Lucas De Marchi
2025-08-20  7:52   ` Riana Tauro
2025-08-18 17:37 ` [PATCH v4 08/13] drm/xe/configfs: Use guard() for dev->lock Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 09/13] drm/xe/configfs: Block runtime attribute changes Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 10/13] drm/xe/configfs: Use tree-like output in documentation Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 11/13] drm/xe/configfs: Improve documentation steps Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 12/13] drm/xe/configfs: Minor fixes to documentation Lucas De Marchi
2025-08-18 17:37 ` [PATCH v4 13/13] drm/xe/configfs: Dump custom settings when binding Lucas De Marchi
2025-08-18 19:50 ` ✗ CI.checkpatch: warning for drm/xe: Add psmi support (rev4) Patchwork
2025-08-18 19:51 ` ✓ CI.KUnit: success " Patchwork
2025-08-18 21:13 ` ✓ Xe.CI.BAT: " Patchwork
2025-08-19 16:04 ` ✗ Xe.CI.Full: failure " Patchwork
2025-08-19 16:51   ` Lucas De Marchi

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