xe_gt_sriov...vram_restore(9)
β¨ NAME β¨
okay bestie, welcome to the Kernel API Manual π β this little cutie is xe_gt_sriov_pf_migration_vram_restore and it does exactly one iconic thing: Restore VF VRAM migration data. π
πΈ SYNOPSIS πΈ
int xe_gt_sriov_pf_migration_vram_restore (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data );
π¦ ARGUMENTS π¦
gtβ thexe_gtπ like, the whole graphics tile vibe, that's the one.vfidβ the VF identifier. and bestie, hear me: it can't be 0 π« no cap, zero is not the move here.dataβ thexe_sriov_packetcontaining migration data π¦ that's where the good stuff lives.
π§ DESCRIPTION π§
so this function is for PF only π periodt, nobody else gets to call it. it restores that VF VRAM migration data, that's the whole assignment.
β RETURN β
0on success π slay.- a negative error code on failure π it's giving "something went wrong" energy.
π SEE ALSO π
the source of truth lives here, go look:
./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
and the whole friend group π«Ά β every single one, no skipping:
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_guc_restore(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_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)
okay that's the whole page bestie, ty for coming to my ted talk π this one came from the kernel source at ./drivers/gpu/drm/xe, it's dated October 2026, it's filed under the Kernel API Manual, and you can find it again under xe_gt_sriov...vram_restore(9) πβ¨ mwah, bye! π
π¦
π¦ 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