xe_gt_sriov_pf_policy_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_gt_sriov_pf_policy_init(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’… β€” yes, that's the whole vibe, we're in the Kernel API Manual today and this page is literally called xe_gt_sriov_pf_policy_init(9). Buckle up, it's a short one and honestly kind of iconic for it πŸŽ€


🌸 NAME 🌸

xe_gt_sriov_pf_policy_init β€” Initializes the SW state of the PF policies. that's it. that's the whole job. slay πŸ’–

ngl the name is a mouthful, but it's giving exactly what it says on the tin: it's the init for the PF policy SW state, on a gt. iykyk πŸ¦‹

⭐ SYNOPSIS ⭐

void xe_gt_sriov_pf_policy_init (struct xe_gt *gt );

like, no return value, no nonsense. it takes one gt and it goes ✨ void ✨ β€” it's giving "I do my thing and I don't report back" main character energy πŸ‘‘


🧚 ARGUMENTS 🧚

  • gt β€” the xe_gt 🫢 (yes queen, that's the argument. that's the whole argument. we love a one-parameter function fr fr)

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this function can only be called on PF. not PF-adjacent, not "if you feel like it", PF only. periodt πŸ’€

and the other thing? this function does not touch the HW at all β€” zero hardware contact, it's purely vibing in software-land πŸ¦‹ but! and this is the important part bestie β€” it must be called after the engines have been initialized. so like, don't come at it early, it needs the engines already set up or it's gonna be awkward 😭

⚠️ tiny but mighty caveats: PF only, no HW interaction, call it after engine init. no cap, those three things are the entire personality of this function πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the source file where all this lives β€” go look, she's right there:

  • Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c

and then the whole friend group 🫢 β€” literally all the related calls, no gatekeeping:

like, the whole setter/getter cinematic universe 🌈 go read them, they're all right there, I'm not doing your homework for you bestie 😌


and that's the page!! mwah πŸ’‹ this gem comes to you from ./drivers/gpu/drm/xe, dated October 2026 β€” so mark your calendars, screenshot it, frame it, whatever πŸŽ€ bye bestie, go init some PF policy SW state responsibly πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from