xe_gt_sriov_..._guc_restore(9)
π xe_gt_sriov_pf_migration_guc_restore β Kernel API Manual girlie edition π
ok so bestie, we're in the <pink>Kernel API Manual</pink> and the star of the show today is xe_gt_sriov_..._guc_restore β yes the page header abbreviates it like that, it's giving nickname energy β¨
πΈ NAME πΈ
xe_gt_sriov_pf_migration_guc_restore β restore VF GuC migration data π that's literally it, that's the whole vibe.
β¨ SYNOPSIS β¨
int xe_gt_sriov_pf_migration_guc_restore (struct xe_gt *gt , unsigned
int vfid , struct xe_sriov_packet *data );
like, look at that signature. three little args and a whole int return. iconic. π
π¦ ARGUMENTS π¦
gtβ thexe_gtπ ngl this is the whole graphics tile, main character energy fr frvfidβ the VF identifier π’ like, which virtual function we're talking about, yk?dataβ thexe_sriov_packetcontaining migration data π¦ the actual payload, the cargo, the little suitcase of migration goodies π§³
π DESCRIPTION π
so here's the thing bestie β this function is for PF only. periodt. no VF shenanigans allowed, this is a Physical Function exclusive π it restores the VF GuC migration data and that's the entire job. slay.
lowkey important: PF only. don't come at it with VF energy, it will not be cute. π«Ά
π RETURN π
0on success π ate and left no crumbs- a negative error code on failure π yeah it'll tell you something went wrong, negative numbers are its love language
π SEE ALSO π
the whole friend group, honestly. π§
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c(the source, the origin story) xe_gt_sriov_pf_migration_ggtt_save(9)xe_gt_sriov_pf_migration_ggtt_restore(9)xe_gt_sriov_pf_migration_guc_save(9)xe_gt_sriov_pf_migration_mmio_save(9)xe_gt_sriov_pf_migration_mmio_restore(9)xe_gt_sriov_pf_migration_vram_save(9)xe_gt_sriov_pf_migration_vram_restore(9)xe_gt_sriov_pf_migration_size(9)xe_gt_sriov_pf_migration_ring_empty(9)xe_gt_sriov_pf_migration_ring_full(9)xe_gt_sriov_pf_migration_ring_free(9)xe_gt_sriov_pf_migration_save_init(9)xe_gt_sriov_pf_migration_save_data_pending(9)xe_gt_sriov_pf_migration_save_data_complete(9)xe_gt_sriov_pf_migration_save_produce(9)xe_gt_sriov_pf_migration_restore_consume(9)xe_gt_sriov_pf_migration_restore_produce(9)xe_gt_sriov_pf_migration_save_consume(9)xe_gt_sriov_pf_migration_init(9)
and that's the page bestie, hope it was giving everything you needed π the whole thing came out of <peach>./drivers/gpu/drm/xe</peach> back in <lavender>October 2026</lavender>, and yeah the footer still calls it xe_gt_sriov_..._guc_restore(9) because apparently we're too cool for full names now β¨π¦ byeee π«Άπ
π¦ 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