STRUCT VMW_USER_SURFACE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vmw_user_surface(9) β€” the kernel API manual, bestie edition

okay so this page is all about struct vmw_user_surface, which is a user-space visible surface resource. that's the whole vibe. it's the thing userspace can actually see, no cap. πŸ¦‹


✨ SYNOPSIS ✨

here's the whole struct, exactly as it lives, don't touch a single semicolon:

struct vmw_user_surface {
    struct ttm_prime_object prime;
    struct vmw_surface srf;
    struct drm_master *master;
 };

like, that's it. three members, one icon. πŸ‘‘


πŸŽ€ Members πŸŽ€

bestie we gotta go through them one by one, they all matter:

  • prime β€” the TTM prime object. that's it, that's the member. πŸ’–
  • srf β€” the surface metadata. all the data about the surface lives here.
  • master β€” the master of the creating client. it gets used for a security check, so like… it's the bouncer at the club. do not mess with it. πŸ™ˆ

⭐ SEE ALSO ⭐

the kernel file lives at ./drivers/gpu/drm/vmwgfx/vmwgfx_surface.c β€” that's the main character file, go read it.

and here's the whole friend group, fr fr, every single one of these pages:

like, that's a lot of siblings. every single one gets a shoutout. 🌈


ok that's the whole page!! nothing else hiding in here, you got every member, every reference, the works. go forth and understand your surface resource bestie 🫢

mwah πŸ’‹ β€” this came out of ./drivers/gpu/drm/vmwgfx in October 2026, and it's literally titled struct vmw_user_surface(9). slay. πŸŽ€βœ¨

πŸ“¦ where this page comes from