STRUCT VMW_COTABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vmw_cotable(9) β€” Kernel API Manual, but make it make sense

okay so bestie, welcome to the struct vmw_cotable page β€” it's the Context Object Table resource and honestly it's giving "small struct, big responsibilities." sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

struct vmw_cotable β€” the Context Object Table resource. that's it, that's the vibe. πŸŽ€


🌸 SYNOPSIS 🌸

struct vmw_cotable {
    struct vmw_resource res;
    struct vmw_resource *ctx;
    size_t size_read_back;
    int seen_entries;
    u32 type;
    bool scrubbed;
    struct list_head resource_list;
 };

look at her. seven fields. flawless. no notes. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

okay so here's the field-by-field breakdown, iykyk:

  • res β€” the struct vmw_resource we are deriving from. she's built different, literally, on top of this one.
  • ctx β€” a non-refcounted pointer to the owning context. non-refcounted, bestie β€” don't go thinking you own it. 🫢
  • size_read_back β€” size of data read back during eviction. yes, eviction. it happens. 😭
  • seen_entries β€” seen entries in command stream for this cotable. she's been around, she's seen things.
  • type β€” the cotable type. u32. a little number with a big job.
  • scrubbed β€” whether the cotable has been scrubbed. bool. clean girl aesthetic, or not 🧚
  • resource_list β€” list of resources in the cotable. a struct list_head, so you know she's linked up with everyone.

πŸ‘€ SEE ALSO πŸ‘€

main character energy in the kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c β€” and these icons, go read them, no cap:


πŸ’€ reminder: the whole vmwgfx cotable saga lives in ./drivers/gpu/drm/vmwgfx, so that's your first stop before you @ me.

and that's the page, bestie!! πŸŽ€ this one shipped from ./drivers/gpu/drm/vmwgfx with a date of October 2026, and the header up top said struct vmw_cotable(9) in the Kernel API Manual β€” slay, periodt, go read the source πŸ’–βœ¨

πŸ“¦ where this page comes from