]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/vf: Refactor CCS save/restore to use default migration context
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Fri, 8 Aug 2025 07:36:28 +0000 (13:06 +0530)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 8 Aug 2025 17:29:37 +0000 (10:29 -0700)
commit9f8aa0bcd1f35baefe083adfa26bc6f9f68f652b
treeca0856a5315f590c81192f949c3dd68a5973e79a
parent342d1f84320994ab72a6ca96e18f2985868e1cbd
drm/xe/vf: Refactor CCS save/restore to use default migration context

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

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

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Suggested-by: Matthew Brost <matthew.brost@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250808073628.32745-2-satyanarayana.k.v.p@intel.com
drivers/gpu/drm/xe/xe_exec_queue.c
drivers/gpu/drm/xe/xe_exec_queue.h
drivers/gpu/drm/xe/xe_migrate.c
drivers/gpu/drm/xe/xe_migrate.h
drivers/gpu/drm/xe/xe_pm.c
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c
drivers/gpu/drm/xe/xe_sriov_vf_ccs_types.h