xe_gt_sriov...licy_restart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

xe_gt_sriov_pf_policy_restart β€” bestie, this one reprovisions your policy settings. That's the whole job. It resets the policy config back into place, and honestly? It ate. πŸ’…

(Also hi, welcome to the Kernel API Manual πŸ’– β€” yes, the page title up top got chopped to xe_gt_sriov...licy_restart(9) because terminal headers are dramatic like that, but the real full name is the one right above, no cap.)


✨ SYNOPSIS ✨

int xe_gt_sriov_pf_policy_restart (struct xe_gt *gt );

That's it. One function, one argument, returns an int. Clean. Minimal. Main character energy. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt. Like, the GT struct. That's the thing you're handing over. 🫢

πŸ’œ DESCRIPTION πŸ’œ

Okay so here's the one thing you cannot miss, bestie:

This function can only be called on PF.

That's it, that's the description. Only on PF. Not VF. PF. Periodt. If you're not on a PF, this is not your moment, and the vibes will be immaculate but the function will not be for you. πŸ™ˆ


⭐ RETURN ⭐

  • 0 on success πŸŽ‰ β€” slay, it worked.
  • a negative error code on failure 😭 β€” not slay, but at least it's honest about it.

🌈 SEE ALSO 🌈

The kernel file this lives in, bestie, in all its glory:

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

And the whole friend group β€” the entire policy squad, all of them, iykyk:


πŸ’€ reminder: PF only. I'm not gonna say it a third time… okay maybe I will. PF only.

✨ ok that's the whole page, you're officially smarter than you were 30 seconds ago ✨

This lil masterpiece comes to you from ./drivers/gpu/drm/xe, dated October 2026, sitting pretty at version 9 of the Kernel API Manual β€” mwah, xoxo, go read the source πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from