diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-16 14:15:39 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-18 14:20:39 -0700 |
commit | e2a9854d806e1cb95861a0f3c7125caaefd7ef03 (patch) | |
tree | 75d0c6ab7a1ed4f64f471954d0d5a07eff677fba /rust/helpers/vmalloc.c | |
parent | 7166cc3a6aae9aaa529f52e1468006e67e3e6846 (diff) |
drm/xe/configfs: Allow to select by class only
For a future configfs attribute, it's desirable to select by engine mask
only as the instance doesn't make sense.
Rename the function lookup_engine_mask() to lookup_engine_info() and
make it return the entry. This allows parse_engine() to still return an
item if the caller wants to allow parsing a class-only string like
"rcs", "bcs", "ccs", etc.
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Link: https://lore.kernel.org/r/20250916-wa-bb-cmds-v5-2-306bddbc15da@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions