]> Gentwo Git Trees - linux/.git/commit
drm/xe/vf: Create contexts for CCS read write
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Tue, 22 Jul 2025 12:05:04 +0000 (17:35 +0530)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 23 Jul 2025 14:22:28 +0000 (07:22 -0700)
commitf3009272ff2ec0498426001e4dd2a12c50234e08
tree75fa7e12baaa2a5decf86ff5a21a4189504583de
parent9a220e065914b67b55d3d0ab91c3e215742fdd73
drm/xe/vf: Create contexts for CCS read write

Create two LRCs to handle CCS meta data read / write from CCS pool in the
VM. Read context is used to hold GPU instructions to be executed at save
time and write context is used to hold GPU instructions to be executed at
the restore time.

Allocate batch buffer pool using suballocator for both read and write
contexts.

Migration framework is reused to create LRCAs for read and write.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250722120506.6483-2-satyanarayana.k.v.p@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt_debugfs.c
drivers/gpu/drm/xe/xe_sriov.c
drivers/gpu/drm/xe/xe_sriov.h
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_vf_ccs.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_vf_ccs_types.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_vf_types.h