diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-05-28 14:54:07 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-06-02 11:00:46 -0700 |
commit | d09bc3edfe5c702463e2640314b7db2219242446 (patch) | |
tree | 76447a7fc38a2c6b25b9583951d7d4d7345ceb09 /tools/perf/scripts/python/libxed.py | |
parent | 58b51df807d7394a09ddb95b47099d59465e3777 (diff) |
drm/xe/configfs: Add attribute to disable engines
Add the userspace interface to load the driver with fewer engines.
The syntax is to just echo the engine names to a file in configfs, like
below:
echo 'rcs0,bcs0' > /sys/kernel/config/xe/<bdf>/engine_allowed
With that engines other than rcs0 and bcs0 will not be enabled. To
enable all instances from a class, a '*' can be used.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20250528-engine-mask-v4-4-f4636d2a890a@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions