PF: Add functions to save and restore VF LMEM and CCS data
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 4 repliesSuperseded
- v13 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- refactor locking (Matt B)
- add helper to retrieve VF's LMEM object (Lukasz).
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/xe/migrate: Add function for raw copy of VRAM and CCSdrivers/ drivers/ | +213 | 0 replies | |
| 2/4 | drm/xe/pf: Add helper to retrieve VF's LMEM objectdrivers/ drivers/ | +23 | 0 replies | |
| 3/4 | drm/xe/pf: Add functions to save and restore VF LMEM and CCS datadrivers/ drivers/ | +122 | 0 replies | |
| 4/4 | drm/xe/pf: Allow to view and replace VF LMEM and CCS state over debugfsdrivers/ drivers/ drivers/ | +292 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] PF: Add functions to save and restore VF LMEM and CCS data
State of VF LMEM and corresponding CCS metadata needs to be saved and restored during migration of VM with attached dGPU VF. Add helpers that allow it. We will start using them in upcoming patches. For feature enabling and testing purposes, allow to save VF LMEM and CCS state and to replace it using debugfs blob file, but only under strict debug config.
v3:
- refactor locking (Matt B)
- add helper to retrieve VF's LMEM object (Lukasz).
Lukasz Laguna (4):
drm/xe/migrate: Add function for raw copy of VRAM and CCS drm/xe/pf: Add helper to retrieve VF's LMEM object drm/xe/pf: Add functions to save and restore VF LMEM and CCS data drm/xe/pf: Allow to view and replace VF LMEM and CCS state over
debugfs
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 22 ++ drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 + drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 78 +++++ drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 318 ++++++++++++++++++ drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.h | 18 + drivers/gpu/drm/xe/xe_migrate.c | 208 ++++++++++++ drivers/gpu/drm/xe/xe_migrate.h | 5 + 7 files changed, 650 insertions(+)
Signature · 1 line
2.40.0