]> Gentwo Git Trees - linux/.git/commit
drm/xe/psmi: Add GuC flag to enable PSMI
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 21 Aug 2025 16:17:56 +0000 (09:17 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 22 Aug 2025 18:46:43 +0000 (11:46 -0700)
commitefeb036ffd2a0d1c1afba3d74bd5965825d1a646
tree2634ce1cc946316b047df39ebccdee96cbd245f8
parent2515d2b9ab4108c11a0b23935e68de27abb8b2a7
drm/xe/psmi: Add GuC flag to enable PSMI

PSMI allows to capture data from the GPU useful for early
validation. From the kernel side there isn't much to be done, just a few
things:

1) Toggle the feature support in GuC
2) Enable some additional WAs
3) Allocate buffers

Here is the first step, with the next ones to follow. For now everything
is disabled through a check in configfs that is currently hardcoded to
disabled.

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://lore.kernel.org/r/20250821-psmi-v5-1-34ab7550d3d8@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_configfs.h
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_guc_fwif.h