STRUCT XE_GT_SRIOV_SPARE_CONFIG(9)
π NAME π
struct xe_gt_sriov_spare_config β the GT-level PF spare configuration data, bestie. It's a struct. It holds numbers. It's lowkey iconic for it.
So like, if you're wondering what manual you just opened β welcome to the Kernel API Manual, babes, we're in the GPU driver docs now π
β¨ SYNOPSIS β¨
struct xe_gt_sriov_spare_config {
u64 ggtt_size;
u64 lmem_size;
u16 num_ctxs;
u16 num_dbs;
};
Look at her. Four members. Not one of them extra. Main character energy fr π
π«Ά Members π«Ά
ggtt_sizeβ the GGTT size. That's it, that's the member.u64of pure GGTT realness β¨lmem_sizeβ the LMEM size. Also au64. Also slaying πnum_ctxsβ the number of GuC submission contexts.u16because apparently that's all the room it needs, and honestly? Respect πΈnum_dbsβ the number of GuC doorbells.u16again. Ring ring, it's for you π
π¦ Description π¦
Okay so here's the vibe: the PF driver uses this struct to keep track of its own reserved (spare) provisioning data β like, the stuff that's specifically not applicable to be tracked in struct xe_gt_sriov_config. Different struct, different job, iykyk π
So don't go cramming your spare provisioning data into the wrong struct, bestie, that's not the move. This one is the spare-config struct. That one over there is the regular config struct. They are not the same and we do not mix them β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_config_types.hβ go read the source, it's giving lore π struct xe_gt_sriov_config(9)β the other struct. The one that does not hold the spare provisioning data. Say hi to her for me π«Ά
ngl bestie, if you got this far you're already smarter than half the group chat π go read the header file, it's literally right there π
Okay that's the whole page!! π Signed, sealed, delivered from ./drivers/gpu/drm/xe, datestamped October 2026, and yes she's still called struct xe_gt_sriov_spare_config β periodt πππ¦
π¦ 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