xe_gt_sriov..._groups_mode(9)
π xe_gt_sriov..._groups_mode(9)
okay so welcome to the Kernel API Manual bestie, this one's short but she's important π«Ά it's literally xe_gt_sriov_pf_policy_set_sched_groups_mode and she controls the 'sched_groups' policy. that's it, that's the vibe.
β¨ SYNOPSIS β¨
int xe_gt_sriov_pf_policy_set_sched_groups_mode (struct xe_gt *gt , enum
xe_sriov_sched_group_modes mode );
like, you hand her a gt and a mode and she does her thing. iconic signature ngl π
π ARGUMENTS π
gtβ thexe_gtwhere you wanna apply the policy. that's the where, bestie πmodeβ the sched_group mode you want activated. that's the what β¨
πΈ DESCRIPTION πΈ
so here's the tea β this function can only be called on PF. not VF, not your cousin, not your group chat β PF only. lowkey exclusive, and honestly? main character energy π
π₯ RETURN π₯
0on success π slay- a negative error code on failure π and that's fr fr, no cap
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c 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_sched_groups_enabled(9)xe_gt_sriov_pf_policy_sanitize(9)xe_gt_sriov_pf_policy_restart(9)xe_gt_sriov_pf_policy_init(9)xe_gt_sriov_pf_policy_print(9)
like, read the whole friend group or you're gonna miss something, iykyk ππ
and that's the whole page bestie, short & sweet π this lil gem lives in ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_gt_sriov..._groups_mode(9) β go forth and set those sched groups ππ
π¦ 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