xe_gt_sriov...vram_restore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” the xe_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 β€” the xe_sriov_packet containing 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 ⭐

  • 0 on 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:


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