xe_sriov_probe_early(9)
π 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β thexe_deviceto 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 π
- Kernel file
./drivers/gpu/drm/xe/xe_sriov.c xe_sriov_mode_to_string(9)xe_sriov_init(9)xe_sriov_print_info(9)xe_sriov_function_name(9)xe_sriov_init_late(9)
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
- 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