[PATCH v2 0/2] Improve CCS save restore series

Satyanarayana K V P satyanarayana.k.v.p at intel.com
Fri Aug 1 13:24:39 UTC 2025


Previously, CCS save/restore operations created separate migration
contexts with new VM memory allocations, resulting in significant
overhead.

This series eliminates redundant context creation reusing the default
migration context by registering new execution queues for CCS save and
restore on the existing migrate VM.

Also fixed corruption issue with save/restore followed by S3/S4 cycle.

V1 -> V2:
- Fix kernel-doc issues reported by patchworks.
- Added new commit "Re-register CCS save/restore contexts post S3/S4
resume"

Satyanarayana K V P (2):
  drm/xe/vf: Refactor CCS save/restore to use default migration context
  drm/xe: Re-register CCS save/restore contexts post S3/S4 resume

 drivers/gpu/drm/xe/xe_migrate.c            | 18 ++++----
 drivers/gpu/drm/xe/xe_migrate.h            |  2 +-
 drivers/gpu/drm/xe/xe_pm.c                 |  3 ++
 drivers/gpu/drm/xe/xe_sriov_vf_ccs.c       | 49 ++++++++++++----------
 drivers/gpu/drm/xe/xe_sriov_vf_ccs_types.h |  2 +
 5 files changed, 42 insertions(+), 32 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list