xe_gt_sriov_...meout_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_gt_sriov_...meout_locked(9) ✨

okay so bestie, we're deep in the Kernel API Manual today β€” like, deep deep, the ./drivers/gpu/drm/xe corner of the kernel where the SR-IOV PF config girlies live πŸ’… don't worry, I got you, this one's actually a chill little getter, let's go 🫢


🌸 NAME 🌸

xe_gt_sriov_pf_config_get_preempt_timeout_locked β€” bestie. it literally just gets the PF/VF preemption timeout. that's the whole vibe. no cap πŸŽ€


⭐ SYNOPSIS ⭐

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

like look at her. two args. returns a u32. iconic, unbothered, hydrated πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt, aka the GT we're talking about. the main character of the operation, fr fr πŸ‘‘
  • vfid β€” the PF or VF identifier β€” so, which PF, or which VF, you're asking about. pick your fighter πŸŽ€

🌈 DESCRIPTION 🌈

okay so here's the tea β˜• β€” this function can only be called on a PF, and you gotta be holding the master mutex. like, _locked is literally in the name bestie, the universe is telling you something 😭 obviously πŸ™ˆ

not me calling this without the master mutex... that's a vibe check you will FAIL πŸ’€

πŸ”₯ RETURN πŸ”₯

the preemption timeout, in microseconds. periodt. πŸ’…

and if it's infinity? you get 0. yeah, zero means infinity here, don't ask, it's giving off-by-void, but that's what the docs say so we're rolling with it ✨


🧚 SEE ALSO 🧚

the whole friend group showed up, slay 🫢 and the source lives at Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c β€” the mothership 🏠

like yes, that's a lot of friends. she's popular. iykyk πŸ’œ


πŸŽ€ and that's the whole page bestie πŸŽ€

this lil masterpiece comes to you from ./drivers/gpu/drm/xe, dated October 2026, and it goes by xe_gt_sriov_...meout_locked(9). mwah, go hold that master mutex πŸ’‹βœ¨

πŸ“¦ where this page comes from