[PATCH v1 0/3] PF: Add functions to save and restore VF LMEM and CCS data

Lukasz Laguna lukasz.laguna at intel.com
Wed Oct 16 09:57:42 UTC 2024


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.

Lukasz Laguna (3):
  drm/xe/migrate: Add function for raw copy of VRAM and CCS
  drm/xe/bo: Add trylock helper for buffer objects
  drm/xe/pf: Add functions to save and restore VF LMEM and CCS data

 drivers/gpu/drm/xe/xe_bo.c                    |  16 +-
 drivers/gpu/drm/xe/xe_bo.h                    |   2 +-
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 100 +++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.h |   7 +
 drivers/gpu/drm/xe/xe_migrate.c               | 208 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_migrate.h               |   5 +
 6 files changed, 336 insertions(+), 2 deletions(-)

-- 
2.40.0



More information about the Intel-xe mailing list