STRUCT XE_WOPCM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct xe_wopcm(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct xe_wopcm(9), and it's basically the receipts for WOPCM: the overall WOPCM info and its WOPCM regions. that's literally the whole name. struct xe_wopcm β€” Overall WOPCM info and WOPCM regions. slay.


✨ SYNOPSIS ✨

here's the whole vibe, verbatim, no cap:

struct xe_wopcm {
    u32 size;
    struct {
      u32 base;
      u32 size;
    } guc;
 };

like… it's giving nested struct realness πŸŽ€ and yes there's a size at the top level and a size inside guc. that's not a typo, that's just how she is. πŸ’…


🌸 Members 🌸

okay so let's meet the members one by one, they're all main characters here:

  • size β€” the size of the overall WOPCM. that's it, that's the field. πŸ’–
  • guc β€” the GuC WOPCM Region info. this is the little nested struct holding the GuC-specific stuff, and it's got two members of its own:
    • guc.base β€” the GuC WOPCM base, which is an offset from the WOPCM base. so like, not the absolute base, bestie β€” it's the GuC region's base measured from the WOPCM base. that distinction matters, write it down. πŸ“
    • guc.size β€” the size of the GuC WOPCM region. how big the GuC slice is. πŸ¦‹

ngl that's the entire member list, no hidden extras, no secret fourth thing. we keep it honest here. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

if you wanna go look at the actual source (and honestly, mood), the kernel file lives at:

./drivers/gpu/drm/xe/xe_wopcm_types.h

go off, read the header, iykyk. πŸ”₯


πŸ’€ reminder that every field above is written exactly as it appears in the struct β€” don't go renaming the nested size to something cute, she is who she is. periodt.

🌈 and that's the page!! this little beauty comes to you from ./drivers/gpu/drm/xe, dated October 2026, and if you ever need to cite her, she's struct xe_wopcm(9) β€” mwah, bye bestie, go read some WOPCM info πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from