xe_gt_sriov_...reset_engine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov_pf_policy_set_reset_engine β€” kernel API manual, but make it make sense

okay so bestie, welcome to the xe_gt_sriov_...reset_engine(9) page πŸ’– this is a Linux kernel API manual page, specifically the one for xe_gt_sriov_pf_policy_set_reset_engine, and we're gonna get you fluent in it, no cap.


✨ NAME ✨

xe_gt_sriov_pf_policy_set_reset_engine β€” the function that gives you control over the 'reset_engine' policy. that's literally the whole job. it sets the vibe of that one policy and dips. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, copy it exactly bestie, it's giving C, it's giving kernel:

int xe_gt_sriov_pf_policy_set_reset_engine (struct xe_gt *gt , bool enable );

so it hands you back an int, and it wants a struct xe_gt * plus a bool. cute and simple. 🫢


🌸 ARGUMENTS 🌸

  • gt β€” the xe_gt where the policy gets applied. like, which GT are we doing this to. this is the target, the main character of the operation πŸ‘‘
  • enable β€” the actual value you're assigning to the 'reset_engine' policy. flip it on, flip it off, whatever, it's a bool.

πŸ’… DESCRIPTION πŸ’…

so here's the whole thing: this function sets the 'reset_engine' policy on the xe_gt you pass in.

⚠️ but listen β€” this function can only be called on PF. that's a hard requirement, not a suggestion, not a vibe. PF only. periodt. don't come at it from anywhere else. πŸ’€

πŸ”₯ RETURN πŸ”₯

  • 0 β€” success, you ate, everything is slay ✨
  • a negative error code β€” failure, it did not go well, check your life 😭

🧚 SEE ALSO 🧚

the whole friend group, the full squad, every one of these is linked:

go read them all, iykyk πŸ“š


okay that's the page!! and for the little credits corner: this lives in ./drivers/gpu/drm/xe, dated October 2026, and it's the xe_gt_sriov_...reset_engine(9) page from the Kernel API Manual. mwah, bye bestie πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from