xe_gt_sriov...licy_restart(9)
πΈ 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β thexe_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 β
0on 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:
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_sanitize(9)xe_gt_sriov_pf_policy_init(9)xe_gt_sriov_pf_policy_print(9)
π 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
- 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