xe_sriov_pf...pply_vf_vram(9)
π xe_sriov_pf_provision_apply_vf_vram π
okay so bestie, we're in the Kernel API Manual, section 9, and this page is literally about changing one single VF's VRAM allocation. one. single. VF. the audacity, the precision, the focus β¨
π NAME π
xe_sriov_pf_provision_apply_vf_vram β Change single VF VRAM allocation.
like, one VF. just the one. not all of them. a single one. π«Ά
β SYNOPSIS β
int xe_sriov_pf_provision_apply_vf_vram (struct xe_device *xe , unsigned
int vfid , u64 size );
the way that this function takes exactly three things and returns an intβ¦ no cap, that's main character energy π
πΈ ARGUMENTS πΈ
xeβ the PF xe_device. this is the parent, the group chat admin, the one holding it all together πvfidβ the VF identifier. and heads up bestie: it can't be0==PFID. zero is the PF's own seat, it's taken, do not sit there πsizeβ the VRAM size to set. this is the number you're assigning, the whole point of the operation, periodt π
π DESCRIPTION π
Change the VF's VRAM provisioning on all tiles/GTs. all of them. every tile, every GT, no tile left behind, we love an even distribution π
β οΈ real talk: this function can only be called on PF. it's PF-only, that's the vibe check, don't come at it from a VF and expect it to slay π
π₯ RETURN π₯
0 on success, or a negative error code on failure. that's it, that's the whole story β zero means we ate, negative means something went sideways π
π¦ SEE ALSO π¦
kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_provision.c β the source, the origin, the home base π
and the whole friend group, because this function does not travel alone:
xe_sriov_pf_provision_vfs(9)xe_sriov_pf_unprovision_vfs(9)xe_sriov_pf_reprovision_default(9)xe_sriov_pf_provision_set_mode(9)xe_sriov_pf_provision_bulk_apply_eq(9)xe_sriov_pf_provision_apply_vf_eq(9)xe_sriov_pf_provision_query_vf_eq(9)xe_sriov_pf_provision_bulk_apply_pt(9)xe_sriov_pf_provision_apply_vf_pt(9)xe_sriov_pf_provision_query_vf_pt(9)xe_sriov_pf_provision_bulk_apply_priority(9)xe_sriov_pf_provision_apply_vf_priority(9)xe_sriov_pf_provision_query_vf_priority(9)xe_sriov_pf_provision_bulk_apply_vram(9)xe_sriov_pf_provision_query_vf_vram(9)
like a full roster. bulk apply, single apply, query β the whole trio for eq, pt, priority and vram. iykyk π
alright bestie, that's the whole page π this one lives in ./drivers/gpu/drm/xe, it's from the Kernel API Manual, dated October 2026 β go forth and provision responsibly, mwah π§ π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms