xe_gt_sriov..._lmem_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov_pf_config_set_lmem_locked(9) β€” like, the Kernel API Manual bestie ✨

okay so real talk, this is a page from the Kernel API Manual, and it's about one very specific little function. buckle up πŸŽ€


🌸 NAME 🌸

xe_gt_sriov_pf_config_set_lmem_locked β€” Provision VF with LMEM. that's it, that's the whole job, and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

int xe_gt_sriov_pf_config_set_lmem_locked (struct xe_gt *gt , unsigned
       int vfid , u64 size );

like, look at her. three params, one int coming back at you. iconic. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt (can't be media) πŸ™…β€β™€οΈ like, genuinely cannot be media, don't even try it
  • vfid β€” the VF identifier (can't be 0 == PFID) β€” so 0 is off the table bestie, that's the PFID's whole thing
  • size β€” requested LMEM size πŸ“

πŸ’– DESCRIPTION πŸ’–

This function can only be called on PF. periodt. πŸ‘‘

like, that's the whole vibe check β€” PF only, no exceptions, no cap. πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is LONG and honestly? she ate. every single one of these, right here:

iykyk πŸ’œ


ngl bestie, the one thing to actually remember: PF only. that's the rule and she is not flexible about it 😭

🌈 okay that's the whole page!! this lil beauty lives in ./drivers/gpu/drm/xe, dated October 2026, and she goes by xe_gt_sriov..._lmem_locked(9) β€” mwah, go read her siblings, love u, bye πŸ«ΆπŸ’–

πŸ“¦ where this page comes from