STRUCT XE_GT_SRIOV_MIGRATION_DATA(9)
πΈ struct xe_gt_sriov_migration_data(9) πΈ
okay bestie, so this is a page straight outta the Kernel API Manual and it's literally about struct xe_gt_sriov_migration_data β no cap, that's the whole name, iykyk π
β¨ NAME β¨
struct xe_gt_sriov_migration_data β GT-level per-VF migration data π¦
(like, per-VF as in per virtual function, and GT-level as in graphics tile level β the vibes are very specific here)
π SYNOPSIS π
struct xe_gt_sriov_migration_data {
struct ptr_ring ring;
struct {
unsigned long data_remaining;
loff_t vram_offset;
} save;
};
bestie please note the nesting:data_remainingandvram_offsetlive insidesave, not at the top level. the indentation is doing main character work here π
πΎ Members πΎ
ringβ the queue that's holding the VF save / restore migration data. it's giving little conveyor belt of migration info πsaveβ the structure for the save migration data that's currently being processed. like, the one on the slab right now π₯save.data_remainingβ a bitmap of the migration types that still need to be saved. yes, a bitmap, so each bit is a little to-do item screaming "not done yet π"save.vram_offsetβ the last saved offset within VRAM, and it's specifically used for chunked VRAM save. so when the save is happening in chunks, this is the bookmark π¦
π Description π
So basically the PF driver uses this to keep track of per-VF migration data β that's it, that's the whole job description, and honestly? iconic. π
the PF driver is out here being the responsible one, holding onto each VF's migration state so nothing gets lost in the sauce π
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration_types.h
go read the header bestie, it's where all the type lore lives β
and that's a wrap, angel π this page came from ./drivers/gpu/drm/xe and it's dated October 2026 β so yes, it's from the future and it still ate πΈπ
periodt β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms