xe_sriov_pf...k_apply_vram(9)
π xe_sriov_pf_provision_bulk_apply_vram(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel docs, the manual name is Kernel API Manual, and this one function is about to be your new obsession. it's giving "one call to rule all the VFs" energy. let's get into it π«Ά
β¨ NAME β¨
xe_sriov_pf_provision_bulk_apply_vram β literally just changes the VRAM provisioning for all the VFs at once. no cap, all of them. π
πΈ SYNOPSIS πΈ
int xe_sriov_pf_provision_bulk_apply_vram (struct xe_device *xe , u64
size );
π¦ ARGUMENTS π¦
xeβ the PFxe_device. yeah, the Physical Function one. it's the main character here πsizeβ the VRAM size in[bytes]you want to set. bytes, bestie, so bring your calculator π
π DESCRIPTION π
So what it actually does: it changes all VFs' VRAM (that's LMEM, for the uninitiated) provisioning β across all tiles. every tile. all of them. π
π¨ real talk though: this function can only be called on PF. like, don't even try it anywhere else. iykyk.
π₯ RETURN π₯
0on success β slay, we ate π- a negative error code on failure β not slay, go read the error π
π SEE ALSO π
the kernel file itself, being iconic:
- Kernel file
./drivers/gpu/drm/xe/xe_sriov_pf_provision.c
and the whole friend group (tag urself, i'm bulk_apply_vram):
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_apply_vf_vram(9),xe_sriov_pf_provision_query_vf_vram(9)
and that's the whole page, bestie β brought to you by ./drivers/gpu/drm/xe, dated October 2026, stamped with the xe_sriov_pf...k_apply_vram(9) header π go provision something pretty β¨πΈ
π¦ 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