STRUCT VMW_COTABLE(9)
π 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β thestruct vmw_resourcewe 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. astruct 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:
struct vmw_cotable_info(9)vmw_cotable(9)vmw_cotable_destroy(9)vmw_cotable_unscrub(9)vmw_cotable_bind(9)vmw_cotable_scrub(9)vmw_cotable_unbind(9)vmw_cotable_readback(9)vmw_cotable_resize(9)vmw_cotable_create(9)vmw_hw_cotable_destroy(9)vmw_cotable_free(9)vmw_cotable_alloc(9)vmw_cotable_notify(9)vmw_cotable_add_resource(9)
π reminder: the wholevmwgfxcotable 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
- 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