xe_sriov_pf...uery_vf_vram(9)
π xe_sriov_pf...uery_vf_vram(9)
okay bestie, welcome to the Kernel API Manual β yes this is a real manual page name, yes it's lowkey cursed, and yes the title got truncated with ... and we're just gonna vibe with it π«Ά
β¨ NAME β¨
xe_sriov_pf_provision_query_vf_vram β the function that queries a VF's VRAM allocation. that's it, that's the whole name, it ate π
πΈ SYNOPSIS πΈ
int xe_sriov_pf_provision_query_vf_vram (struct xe_device *xe , unsigned
int vfid , u64 *size );
literally just three args and an int return, no cap. copy it exactly, don't be cute with it π
π¦ ARGUMENTS π¦
xeβ the PFxe_device. the main character itself πvfidβ the VF identifier. and nope, it can't be0because0 == PFID, so don't even try it πsizeβ a placeholder where the returned VRAM size gets dropped. hand it over empty, it comes back iconic β¨
π DESCRIPTION π
So what does it actually do? It queries the VF's VRAM provisioning from all tiles/GTs β like, all of them, not just one, we're thorough here π―
β οΈ important vibe check: this function can only be called on PF. PF only. do not come at it from anywhere else, it's giving "members only" energy π«
π RETURN π
0on success π- a negative error code on failure π
that's the whole contract, bestie. no in-between, no "kinda worked", fr fr.
π SEE ALSO π
the kernel file itself, for the curious girlies:
- Kernel file
./drivers/gpu/drm/xe/xe_sriov_pf_provision.c
and the whole extended friend group of related functions β go say hi to all of them π:
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_apply_vf_vram(9)
and that's the page, babes π«Ά this little gem lives in ./drivers/gpu/drm/xe, stamped October 2026 β yes, the future, we're ahead of schedule, slay π§ββοΈ see you in the source tree, iykyk β
π¦ 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