[PATCH v4 0/1] Improve CCS save restore series
Satyanarayana K V P
satyanarayana.k.v.p at intel.com
Thu Aug 7 11:27: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.
V3 -> V4:
- Created a new helper function to get lrc from queue xe_exec_queue_lrc()
(John Harrison)
- Rename q to mig_q in xe_tile_vf_ccs structure (John Harrison)
- Corrected error handling in xe_sriov_vf_ccs_init() when
devm_add_action_or_reset() returns error.
- Removed commit "Scale mmio send/recv timeout for CCS save/restore with
smem size" from this series and will be submitted a new series as it may
take time to close some opens around it.
V2 -> V3:
- Fixed review comments.
- Added new commit "Scale mmio send/recv timeout for CCS save/restore with
smem size"
- Squashed "Re-register CCS save/restore contexts post S3/S4 resume" into
"Refactor CCS save/restore to use default migration context" commit as per
review comments.
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 (1):
drm/xe/vf: Refactor CCS save/restore to use default migration context
drivers/gpu/drm/xe/xe_exec_queue.c | 11 +++++
drivers/gpu/drm/xe/xe_exec_queue.h | 1 +
drivers/gpu/drm/xe/xe_migrate.c | 21 +++++----
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 | 51 ++++++++++++----------
drivers/gpu/drm/xe/xe_sriov_vf_ccs_types.h | 6 +--
7 files changed, 59 insertions(+), 36 deletions(-)
--
2.43.0
More information about the Intel-xe
mailing list