xe_gt_sriov_...icy_sanitize(9)
πΈ xe_gt_sriov_pf_policy_sanitize β Kernel API Manual, section 9 πΈ
Okay bestie, so we're in the 9 section of the Kernel API Manual today, and the page name is xe_gt_sriov_pf_policy_sanitize. Yes the header line got truncated to xe_gt_sriov_...icy_sanitize(9) β she's on a budget, we don't judge. π
Lowkey the longest function name in the friend group, but she's iconic for it.
β¨ NAME β¨
xe_gt_sriov_pf_policy_sanitize β reset policy settings. That's it, that's the whole vibe. Clean slate, fresh start, new semester energy π«Ά
π SYNOPSIS π
void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt);
Notice the void up front β she gives nothing back, she just does. Main character energy honestly. β¨
π ARGUMENTS π
gtβ thexe_gt. Just... thexe_gt. That's the whole description on the original page and ngl we're not gonna invent lore. Hand her the gt, she handles it. π¦
π DESCRIPTION π
Full transparency bestie: the entire description is one sentence and it's a whole mood.
This function can only be called on PF.
So if you're not on the PF, this is not your moment. Strictly PF-only invite list, velvet rope, no exceptions. π
β RETURN β
The page says 0 on success or a negative error code on failure.
And yeah β we know, we know, the synopsis says void and the return section talks about error codes. Not me pointing out the contradiction π but fr fr that's literally what's on the page, so that's what we're telling you. Don't shoot the messenger. π
π SEE ALSO π
Your girl doesn't roll alone β the whole policy crew is here, all section 9 icons, periodt:
xe_gt_sriov_pf_policy_set_sched_if_idle_locked(9)xe_gt_sriov_pf_policy_set_sched_if_idle(9)xe_gt_sriov_pf_policy_get_sched_if_idle_locked(9)xe_gt_sriov_pf_policy_get_sched_if_idle(9)xe_gt_sriov_pf_policy_set_reset_engine(9)xe_gt_sriov_pf_policy_get_reset_engine(9)xe_gt_sriov_pf_policy_set_sample_period(9)xe_gt_sriov_pf_policy_get_sample_period(9)xe_sriov_gt_pf_policy_has_sched_groups_support(9)xe_sriov_gt_pf_policy_has_multi_group_modes(9)xe_sriov_gt_pf_policy_has_sched_group_mode(9)xe_gt_sriov_pf_policy_set_sched_groups_mode(9)xe_gt_sriov_pf_policy_sched_groups_enabled(9)xe_gt_sriov_pf_policy_restart(9)xe_gt_sriov_pf_policy_init(9)xe_gt_sriov_pf_policy_print(9)
And in case you wanna go read the source like the little scholar you are π§:
Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
Set and get, set and get, the way that pattern just goes on forever β the symmetry ate, no cap. π
π Little reminder: the _locked variants in that list are out here living their best life with their suffix fully visible β so iykyk, mind your locking, bestie. (We're just reading the names, that's all the page gives us!) π₯
π Sign-off π
That's the whole page, babe β sourced from ./drivers/gpu/drm/xe, dated October 2026, and still filed under xe_gt_sriov_...icy_sanitize(9) because she refuses to fit in a header line. Slay, honestly. πΈπ
π
π¦ 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