xe_sriov_probe_early(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

xe_sriov_probe_early β€” probe a SR-IOV mode. yep, that's the whole vibe, and this is its page from the Kernel API Manual, bestie. πŸ’…


✨ SYNOPSIS ✨

void xe_sriov_probe_early (struct xe_device *xe );

πŸŽ€ ARGUMENTS πŸŽ€

  • xe β€” the xe_device to probe mode on. like, that's the device we're checking, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function should be called only once and as soon as possible during driver probe, because its whole job is to detect whether we're running a SR-IOV Physical Function (PF) or a Virtual Function (VF) device. main character energy, honestly. ✨

SR-IOV PF mode detection is based on the PCI dev_is_pf function. iconic. 🫢

SR-IOV VF mode detection is based on dedicated MMIO register read. literally that's the vibe check. πŸ”₯

bestie, the "only once" and "as soon as possible" parts are not decorative β€” that's the actual instruction, fr fr.

🌈 SEE ALSO 🌈


mwah πŸ’‹ cute little sign-off: this page is serving the ./drivers/gpu/drm/xe source/version situation with an October 2026 date, and the star of the show is xe_sriov_probe_early(9) β€” periodt. πŸŽ€

πŸ“¦ where this page comes from