xe_gt_sriov_..._idle_locked(9)
π xe_gt_sriov_..._idle_locked(9)
okay so picture this: it's a page from the Kernel API Manual, and it's about exactly one tiny little function. bestie, it's giving "small but mighty" and honestly? we're obsessed. π
β¨ NAME β¨
xe_gt_sriov_pf_policy_set_sched_if_idle_locked β the function that controls the 'sched_if_idle' policy. yes, that's its whole job and it does it slayfully. π
πΈ SYNOPSIS πΈ
int xe_gt_sriov_pf_policy_set_sched_if_idle_locked (struct xe_gt *gt ,
bool enable );
look at her. two arguments, returns an int, no drama. π¦
π«Ά ARGUMENTS π«Ά
gtβ thexe_gtwhere we're applying the policy. like, the actual spot. the venue. the location tag. πenableβ the value of the'sched_if_idle'policy. you're basically telling it on or off, babe. β /β
π DESCRIPTION π
okay so this is the important part, don't scroll past it π β this function can only be called on PF. that's it, that's the whole description. PF only. no cap. iykyk what PF means, and if you don't, this page is very much not the place where it gets explained, so stay in your lane bestie π
π₯ RETURN π₯
0on success π β iconic, ate, no notes.- a negative error code on failure π β the vibe check did not pass.
π SEE ALSO π
the whole friend group, in order, fr fr:
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c 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_restart(9)xe_gt_sriov_pf_policy_init(9)xe_gt_sriov_pf_policy_print(9)
like, that's the entire group chat and you're not leaving until you've met everyone π
mwah π that's the whole page! source lives at ./drivers/gpu/drm/xe, dated October 2026, and the title up top is xe_gt_sriov_..._idle_locked(9) β same energy, same facts, way better vibes. periodt. πβ
π¦ 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