xe_gt_sriov...meout_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked β€” Kernel API Manual, section 9

okay bestie, sit down, hydrate, and get comfy because we're about to talk about the iconic xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked πŸ’… this one lives in the Kernel API Manual (section 9) and honestly? it's giving "quietly important little config function" and I'm obsessed.


✨ NAME ✨

xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked β€” like, it configures the PT (that's preemption timeout, keep up 🫢) for the PF and all the VFs. bulk mode. everyone gets one. slay.


🌸 SYNOPSIS 🌸

int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked (struct xe_gt
*gt , u32 preempt_timeout );

look at her. a struct xe_gt * AND a u32. returns an int. simple, elegant, no notes. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • gt β€” the xe_gt you wanna configure. the main character of this whole operation.
  • preempt_timeout β€” the preemption timeout you're asking for, measured in microseconds. and babes, listen: 0 is infinity. not zero seconds, not "no timeout" in a cute way, literally infinity. put some respect on it. 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

This function can only be called on a PF with the master mutex hold. that's the whole description. no cap, that's it. it's a strict vibe check and if you're not holding that mutex, don't even try it πŸ™ˆ

fr fr β€” PF only, master mutex held. those are the rules, we don't break them.

πŸ’– RETURN πŸ’–

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

that's the whole range. binary queen.


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the source file herself:

  • Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c

and now the full friend group β€” every single one of them, in order, no skips, no cuts:

like, that's a whole squad 🫢 every single one accounted for, I would never do you dirty by trimming the list.


mwah πŸ’‹ that's the whole page! this little gem ships out of ./drivers/gpu/drm/xe and the version stamp on it says October 2026. go forth, hold that master mutex, set those timeouts, and remember: 0 means infinity, bestie. periodt. πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from