STRUCT VMW_SURFACE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vmw_surface(9) πŸ’…

okay bestie, welcome to the struct vmw_surface(9) page from the Kernel API Manual β€” yes this is the vmwgfx one and yes it's lowkey iconic πŸŽ€


✨ NAME ✨

struct vmw_surface β€” literally the resource structure for a surface. that's it, that's the whole vibe πŸ’–


🌸 SYNOPSIS 🌸

struct vmw_surface {
    struct vmw_resource res;
    struct vmw_surface_metadata metadata;
    struct vmw_cursor_snooper snooper;
    struct vmw_surface_offset *offsets;
    struct list_head view_list;
 };

like, that's the whole struct. five fields. she's compact, she's clean, she ate πŸ’…


πŸ‘‘ Members πŸ‘‘

  • res β€” the base resource for this surface. she's the foundation, the main character energy the rest of the struct is built on 🫢
  • metadata β€” the metadata for this surface resource. all the little details about her ✨
  • snooper β€” cursor data. legacy surface only πŸ‘€ so if you're on a fancy modern surface, she's not invited
  • offsets β€” legacy surface only too, ngl. same deal, not for the new kids πŸ’€
  • view_list β€” the list of views bound to this surface. everyone who's looking at her, gathered in one list_head πŸ¦‹

🌈 SEE ALSO 🌈

okay this is the part where the manpage just goes off, so buckle up bestie, we're listing everything, no cap:

Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h, plus:

like, that's the whole friend group fr fr β€” go read them if you want the full lore πŸ“


lowkey reminder: snooper and offsets are legacy surface only β€” don't come for them on a modern surface, they're not there πŸ’€

and that's the page!! this one lives in ./drivers/gpu/drm/vmwgfx, dated October 2026, from the Kernel API Manual β€” mwah, stan her, periodt πŸ§šπŸ’œ

πŸ“¦ where this page comes from