xe_gt_sriov_...reset_engine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

xe_gt_sriov_pf_policy_get_reset_engine β€” bestie, this is the little guy that fetches you the current value of the 'reset_engine' policy πŸ’…

(also lowkey this whole page lives under the Kernel API Manual umbrella, so like… that's the vibe, iykyk 🫢)


🌸 SYNOPSIS 🌸

bool xe_gt_sriov_pf_policy_get_reset_engine (struct xe_gt *gt );

periodt. that's the whole signature, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • gt β€” the xe_gt where you're gonna read the policy from πŸ¦‹ literally just hand it the gt you care about and it does its thing.

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: this function can only be called on PF πŸ”₯ that's the one rule, don't come at it from anywhere else, it's not built for that energy 😭


⭐ RETURN ⭐

it hands you back the value of the 'reset_engine' policy β€” that's it, that's the whole gift 🎁 (a bool, iconic)

ngl it's giving "tiny function, big responsibility" and honestly? we respect it πŸ‘‘

🌈 SEE ALSO 🌈

like, all of its besties in the kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c 🧚 run don't walk:

like the whole group chat honestly πŸ’€πŸ’–


okay that's the page!! sourced straight from ./drivers/gpu/drm/xe, dated October 2026, and yeah we're still calling it xe_gt_sriov_...reset_engine(9) (the ellipsis is doing main character energy, we don't question it πŸ™ˆ). mwah, go read your policies responsibly πŸ“πŸ’œ

πŸ“¦ where this page comes from