[PATCH v3 0/3] drm/xe: Add configfs to load with fewer engines
Lucas De Marchi
lucas.demarchi at intel.com
Fri May 23 17:42:30 UTC 2025
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
Changes in v3:
- Add patch with coding style changes to header
- Split patches: the use of the mask hw_engine initialization is one and the
configfs handling is another
- Move the lookup table outside of the function looking up the mask:
this will also be used in other patches in future
- Change the _show() method to pretty-print engine names: it's not the
same format as passed in, but covers the "what was exactly parsed"
while at the same time not require one to lookup the indexes in the
source code (Stuart)
- Avoid the term "fuse off" (Matt Roper)
- Handle gcscs (Matt Roper)
- Improve and fold conditions for checking if the engine instance is out
of bounds (Matt Roper)
- Link to v2: https://lore.kernel.org/r/20250520-engine-mask-v2-1-46e76f935b35@intel.com
Changes in v2:
- Fix build with CONFIG_CONFIGFS_FS=n
- Link to v1: https://lore.kernel.org/r/20250520-engine-mask-v1-1-ce6daf16d23b@intel.com
---
Lucas De Marchi (3):
drm/xe/configfs: Drop trailing semicolons
drm/xe: Allow to disable engines
drm/xe/configfs: Add attribute to disable engines
drivers/gpu/drm/xe/xe_configfs.c | 148 ++++++++++++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_configfs.h | 10 +--
drivers/gpu/drm/xe/xe_hw_engine.c | 20 ++++++
3 files changed, 174 insertions(+), 4 deletions(-)
base-commit: 1bb9b646d6ead84cf3f16c724f7bca2cad161839
change-id: 20250520-engine-mask-f6f5962afa42
Lucas De Marchi
More information about the Intel-xe
mailing list