]> Gentwo Git Trees - linux/.git/commit
drm/xe/pf: Add helpers for migration data packet allocation / free
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 12 Nov 2025 13:22:02 +0000 (14:22 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Thu, 13 Nov 2025 10:48:19 +0000 (11:48 +0100)
commit644a699e6980d9fda947319e157b028f96ee3050
treebbe71701a4dcf43d9c537e1a05a6598b16f04750
parent67df4a5cbc583fa3cdefd14131203d46b088ae03
drm/xe/pf: Add helpers for migration data packet allocation / free

Now that it's possible to free the packets - connect the restore
handling logic with the ring.
The helpers will also be used in upcoming changes that will start
producing migration data packets.

Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20251112132220.516975-7-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_control.c
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.h
drivers/gpu/drm/xe/xe_sriov_packet.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_packet.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_sriov_packet_types.h