]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/vf: Shadow buffer management for CCS read/write operations
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Tue, 18 Nov 2025 12:07:45 +0000 (12:07 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 19 Nov 2025 05:45:08 +0000 (21:45 -0800)
commitfa18290bf0723b02bfa8d30d2e14722f0d096c2c
tree029bccdc70abfc13ac6e7340a01dc1cf03fd10e2
parent1f2cf5295cdba71818288c9e495b4ef5097565ed
drm/xe/vf: Shadow buffer management for CCS read/write operations

CCS copy command consist of 5-dword sequence. If vCPU halts during
save/restore operations while these sequences are being programmed,
incomplete writes can cause page faults during IGPU CCS metadata saving.

Use shadow buffer management to prevent partial write issues during CCS
operations.

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: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20251118120745.3460172-3-satyanarayana.k.v.p@intel.com
drivers/gpu/drm/xe/xe_migrate.c
drivers/gpu/drm/xe/xe_migrate.h
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c
drivers/gpu/drm/xe/xe_sriov_vf_ccs.h