xe_gt_sriov...mpt_timeouts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov...mpt_timeouts(9) β€” Kernel API Manual, but make it make sense

okay so bestie, you're reading the Kernel API Manual page for xe_gt_sriov...mpt_timeouts(9), and honestly? It's a niche little baddie. Let me walk you through it πŸŽ€


✨ NAME ✨

xe_gt_sriov_pf_config_set_groups_preempt_timeouts β€” it configures PF/VF PTs for sched groups. Yes, "PTs" is doing a lot of heavy lifting there, and yes, it's giving "abbreviation that expects you to already know things" 😭


πŸ¦‹ SYNOPSIS πŸ¦‹

int xe_gt_sriov_pf_config_set_groups_preempt_timeouts (struct xe_gt *gt
, unsigned int vfid , u32 *preempt_timeouts , u32 count );

That's the whole signature, no cap. Five things go in, an int comes out πŸ”₯


🌸 ARGUMENTS 🌸

  • gt β€” the xe_gt. That's the graphics tile situation, and it's the main character of this whole call.
  • vfid β€” the PF or VF identifier. Basically "whose config is this anyway" πŸ’…
  • preempt_timeouts β€” an array of requested PTs in microseconds. Oh and heads up: 0 is infinity. Literally infinity. Iconic of it.
  • count β€” number of entries in the array. Keep it honest, bestie, because this is how many it's gonna read.

πŸ’– DESCRIPTION πŸ’–

So here's the vibe check: this function can only be called on PF. That's the rule, don't fight it 🫢

It will log the provisioned value, or β€” if things go sideways β€” it'll log an error. Either way, it's logging. It's a talker. We love a transparent function ✨


⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative error code on failure 😭 (that's your "something went wrong" era)

πŸ”₯ SEE ALSO πŸ”₯

okay this list is long, and every single one of these deserves their moment. Not me leaving a single one out β€” periodt πŸ‘‘

Like I said. Every. Single. One. πŸ’€


also lowkey, preempt_timeouts is u32 * and count is u32 β€” matching types, we stan a consistent API 🌈

and that's the page, bestie!! πŸ’œ this lil manual comes from ./drivers/gpu/drm/xe, dated October 2026, and it will forever live on as xe_gt_sriov...mpt_timeouts(9). go forth and configure your sched group preempt timeouts responsibly πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from