drm/xe: Move migration support to device-level struct
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 12 Nov 2025 13:21:58 +0000 (14:21 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Thu, 13 Nov 2025 10:48:18 +0000 (11:48 +0100)
commit4a43480ae07840c916e6c715d1a9f0fe5ba74009
treeafd84f36c48649445289321e5c0f9ea1b2235ff4
parentbaf125849a22459dfd630b0210a663ca572723a3
drm/xe: Move migration support to device-level struct

Upcoming changes will allow users to control VF state and obtain its
migration data with a device-level granularity (not tile/gt).
Change the data structures to reflect that and move the GT-level
migration init to happen after device-level init.

Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20251112132220.516975-3-michal.winiarski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration_types.h
drivers/gpu/drm/xe/xe_sriov_pf.c
drivers/gpu/drm/xe/xe_sriov_pf_migration.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_pf_migration.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_pf_types.h