[PATCH 0/5] PF: Add functions to save and restore VF configuration blob
Michal Wajdeczko
michal.wajdeczko at intel.com
Thu Sep 19 17:15:23 UTC 2024
We already have support to save and restore GuC VF state, but that
will only work when the target VF configuration (provisioning) will
be exactly the same as the source VF configuration. To help with
assuring that both configurations match, allow to encode whole VF
configuration that can be saved as blob and restored later.
In the future we may want to use such captured configuration blobs
as templates to make sure we provision VFs with exactly the same
configuration that was previously tested or recommended, or when
debugfs knobs are not be available.
Michal Wajdeczko (5):
drm/xe/guc: Add yet another helper macro for threshold
drm/xe/pf: Update success code of pf_validate_vf_config()
drm/xe/pf: Allow to encode subset of VF configuration KLVs
drm/xe/pf: Add functions to save and restore VF configuration blob
drm/xe/pf: Allow to save and restore VF config blob from debugfs
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 204 ++++++++++++++++--
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 4 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 78 +++++++
.../gpu/drm/xe/xe_guc_klv_thresholds_set.h | 7 +
4 files changed, 279 insertions(+), 14 deletions(-)
--
2.43.0
More information about the Intel-xe
mailing list