xe_gt_sriov_..._idle_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the xe_gt where 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 πŸ”₯

  • 0 on 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:

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