UNION DRM_VMW_GB_SURFACE_CREATE_ARG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ union drm_vmw_gb_surface_create_arg(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual ✨ this one is a lil union from the vmwgfx world and it's honestly giving "small but important" energy πŸŽ€ she's not flashy, but she's the whole reason a certain ioctl can even happen, iykyk πŸ’…


🌸 NAME 🌸

union drm_vmw_gb_surface_create_arg β€” and that's literally it, the dash after the name is just sitting there empty 😭 no description, no cap, that's the entire NAME section, we move.


✨ SYNOPSIS ✨

union drm_vmw_gb_surface_create_arg {
    struct drm_vmw_gb_surface_create_rep rep;
    struct drm_vmw_gb_surface_create_req req;
};

look at her go πŸ’– two members, one union, absolutely slaying the layout game πŸ‘‘


🫢 Members 🫢

  • rep β€” the output argument, as described above 🫢 she's the one carrying info back out to you.
  • req β€” the input argument, as described above πŸ’œ she's the one you fill in before you knock on the kernel's door.

πŸ”₯ Description πŸ”₯

she is literally the argument to the DRM_VMW_GB_SURFACE_CREATE ioctl πŸŽ€ that's the whole job. no extra lore, no secret side quests, just a union doing her one iconic task ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is long and every single one of these besties deserves a mention, so here we go, no skipping, periodt πŸ’…

  • enum drm_vmw_handle_type(9)
  • struct drm_vmw_getparam_arg(9)
  • struct drm_vmw_size(9)
  • union drm_vmw_surface_create_arg(9)
  • struct drm_vmw_fence_rep(9)
  • struct drm_vmw_bo_rep(9)
  • union drm_vmw_alloc_bo_arg(9)
  • struct drm_vmw_control_stream_arg(9)
  • struct drm_vmw_cursor_bypass_arg(9)
  • struct drm_vmw_fence_wait_arg(9)
  • struct drm_vmw_fence_event_arg(9)
  • struct drm_vmw_shader_create_arg(9)
  • struct drm_vmw_gb_surface_create_req(9)
  • struct drm_vmw_gb_surface_create_rep(9)
  • union drm_vmw_gb_surface_reference_arg(9)
  • enum drm_vmw_synccpu_op(9)
  • struct drm_vmw_synccpu_arg(9)
  • union drm_vmw_extended_context_arg(9)
  • struct drm_vmw_handle_close_arg(9)
  • struct drm_vmw_gb_surface_create_ext_req(9)
  • union drm_vmw_gb_surface_create_ext_arg(9)
  • union drm_vmw_gb_surface_reference_ext_arg(9)
  • struct drm_vmw_msg_arg(9)
  • struct drm_vmw_mksstat_add_arg(9)
  • struct drm_vmw_mksstat_remove_arg(9)

also the kernel file lives at ./include/uapi/drm/vmwgfx_drm.h if you wanna go read the source yourself, go off queen πŸ“–βœ¨


πŸ’€ reminder bestie: this page is short because the union is short. don't go inventing extra fields, she has exactly rep and req and that's her whole personality πŸŽ€

and that's the tea πŸ“ this cutie is filed under ./include/uapi/drm in the Kernel API Manual, dated October 2026 β€” love that for her, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from