xe_sriov_pf...ulk_apply_pt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_sriov_pf_provision_bulk_apply_pt πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, we're fancy here β€” and today's main character is xe_sriov_pf_provision_bulk_apply_pt. literally the whole vibe is "set the preemption timeout everywhere at once." no cap.


✨ NAME ✨

xe_sriov_pf_provision_bulk_apply_pt β€” Change preemption timeout for all VFs and PF.

like, all of them. bulk mode. group chat blast. 🫢


🌸 SYNOPSIS 🌸

int xe_sriov_pf_provision_bulk_apply_pt (struct xe_device *xe , u32 pt
);

that's the whole signature bestie, copy it exactly, don't be weird about the spacing 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • xe β€” the PF xe_device. the physical function one. the main character device fr.
  • pt β€” preemption timeout in [us] to set. microseconds, periodt. ⏱️

πŸ¦‹ DESCRIPTION πŸ¦‹

Change preemption timeout (PT) provisioning on all tiles/GTs.

that's it, that's the whole bit β€” one call, every tile/GT gets the new PT. it's giving efficiency. it's giving "I'm not doing this in a for-loop myself." πŸ‘‘

⚠️ real talk though: this function can only be called on PF. like, only. PF only. if you're a VF trying to call this, no you aren't, go home. 🚫

⭐ RETURN ⭐

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

that's the whole return contract, sweetie. zero means slay, negative means not slay.


🌈 SEE ALSO 🌈

first up, the source file itself lives at ./drivers/gpu/drm/xe/xe_sriov_pf_provision.c β€” go read it, iykyk πŸ“–

and then the whole friend group:

like an entire ensemble cast, honestly. the apply/query/bulk trio for eq, pt, priority AND vram β€” that's range. πŸ§šπŸ’œ


and that's the page! this little icon came to you from ./drivers/gpu/drm/xe and it's dated October 2026, so mark your calendar bestie πŸ—“οΈβœ¨ mwah, go provision something πŸ’…πŸŽ€

πŸ“¦ where this page comes from