diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-16 14:15:41 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-18 14:20:39 -0700 |
commit | 39ac06f70062b6867836ea631e196cf2f60c1513 (patch) | |
tree | 5c96806c54d31e817e015b15a30220b5b723988c /rust/helpers/helpers.c | |
parent | 6c6988c5e03df145e6c5cabc50d67b11f5aa2e56 (diff) |
drm/xe/configfs: Add post context restore bb
Allow the user to specify commands to execute during a context restore.
Currently it's possible to parse 2 types of actions:
- cmd: the instructions are added as is to the bb
- reg: just use the address and value, without worrying about
encoding the right LRI instruction. This is possibly the most
useful use case, so added a dedicated action for that.
This also prepares for future BBs: mid context restore and rc6 context
restore that can re-use the same parsing functions.
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Link: https://lore.kernel.org/r/20250916-wa-bb-cmds-v5-4-306bddbc15da@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions