[PATCH v3 0/3] drm/xe/vf: Post-migration recovery of GGTT nodes and CTB
Tomasz Lis
tomasz.lis at intel.com
Sat Nov 23 03:13:29 UTC 2024
To support VF Migration, it is necessary to do fixups to any
non-virtualized resources. These fixups need to be applied within
VM, on the KMD working with VF.
This series adds two fixup functions to the recovery worker:
* for fixing drm_mm nodes which represent GGTT allocations
* for fixing content of outgoing CTB buffer
v2: Fixed missing include, made checkpatch happy
v3: Moved some functs to xe_ggtt.c; moved shift computation to just
after querying; improved documentation; switched some warns to asserts;
skipping fixups when GGTT shift eq 0; iterating through tiles rather
than gts; fixes in log messages
Tomasz Lis (3):
drm/drm_mm: Safe macro for iterating through nodes in range
drm/xe/sriov: Shifting GGTT area post migration
drm/xe/vf: Fixup CTB send buffer messages after migration
drivers/gpu/drm/xe/xe_ggtt.c | 139 ++++++++++++++++++++
drivers/gpu/drm/xe/xe_ggtt.h | 3 +
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 25 ++++
drivers/gpu/drm/xe/xe_gt_sriov_vf.h | 1 +
drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h | 2 +
drivers/gpu/drm/xe/xe_guc_ct.c | 148 ++++++++++++++++++++++
drivers/gpu/drm/xe/xe_guc_ct.h | 2 +
drivers/gpu/drm/xe/xe_sriov_vf.c | 38 ++++++
include/drm/drm_mm.h | 19 +++
9 files changed, 377 insertions(+)
--
2.25.1
More information about the Intel-xe
mailing list