xe_gt_sriov...empt_timeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’…βœ¨ xe_gt_sriov_pf_config_set_preempt_timeout βœ¨πŸ’…

okay so this is from the Kernel API Manual, and it's literally the page for xe_gt_sriov_pf_config_set_preempt_timeout β€” yes that's a whole mouthful, yes we're gonna get through it together 🫢


🌸 NAME 🌸

xe_gt_sriov_pf_config_set_preempt_timeout β€” configures the PF/VF preemption timeout. that's it, that's the whole vibe check ✨


πŸŽ€ SYNOPSIS πŸŽ€

int xe_gt_sriov_pf_config_set_preempt_timeout (struct xe_gt *gt ,
                                               unsigned int vfid ,
                                               u32 preempt_timeout );

like yes, three args, no cap, we're doing this πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt. that's your graphics tile bestie, the whole reason we're here πŸ’–
  • vfid β€” the PF or VF identifier. so like, which one of these are we talking to πŸ‘‘
  • preempt_timeout β€” the requested preemption timeout, measured in microseconds. and oh my god the detail: 0 is infinity. literally zero means forever. iconic behaviour, honestly 😭✨

🌈 DESCRIPTION 🌈

⚠️ okay important: this function can only be called on PF.

that's the whole description. no elaboration, no extra lore, she said what she said πŸ’…πŸ«Ά


⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative error code on failure πŸ’€

fr fr that's the entire contract, no surprises 🧚


πŸ”₯ SEE ALSO πŸ”₯

the source file lives right here: ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c β€” go read it if you're feeling brave πŸ“–

and here's the whole friend group, all of them, every single one, no skipping πŸ™ˆ:

that's fifty-five links, i counted, we don't gatekeep here πŸ’œ


okay that's the whole page bestie, you ate that πŸ’…βœ¨

this one ships out of ./drivers/gpu/drm/xe, October 2026, and it answers to the name xe_gt_sriov...empt_timeout(9) β€” go forth and configure your preemption timeouts responsibly πŸŽ€πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from