vmw_surface_...ize_extended(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_surface_...ize_extended(9) β€” bestie edition πŸŽ€

okay so this page lives in the Kernel API Manual, and the header is literally vmw_surface_...ize_extended(9) (yes the ellipsis is really in there, it's giving "we ran out of column width" energy ✨). Buckle up, we're learning about surface sizes today.


🌸 NAME 🌸

vmw_surface_get_serialized_size_extended β€” returns the number of bytes required for a surface with given parameters. Support for sample count. 🫢


✨ SYNOPSIS ✨

u32 vmw_surface_get_serialized_size_extended (SVGA3dSurfaceFormat format
, struct drm_vmw_size base_level_size , u32 num_mip_levels , u32
num_layers , u32 num_samples );

That's the whole signature, no cap. It returns a u32 (the byte count, iykyk) and takes five things. Let's meet them πŸ‘‡


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so about these bestie… the source doc says -- undescribed -- for every single one of them. Not me making stuff up on the internet β€” I'm literally reading the page. πŸ’€ So here they are, in order, fully present and accounted for, with the honest truth that the manpage gives zero detail:

  • format β€” SVGA3dSurfaceFormat. The doc's description is literally -- undescribed --. πŸ™ˆ
  • base_level_size β€” struct drm_vmw_size. Also -- undescribed --. 😭
  • num_mip_levels β€” u32. Also -- undescribed --. πŸ“
  • num_layers β€” u32. Also -- undescribed --. 🌈
  • num_samples β€” u32. Also -- undescribed --. πŸ’œ
fr fr if you need the real semantics, go read the header file down below β€” the manpage is not gonna be the one to tell you. 😌

πŸ‘‘ SEE ALSO πŸ‘‘

the little family of functions and structs this one hangs out with, in the exact order the page lists them:


and that's the whole page, slay πŸ’…βœ¨

this little icon came from ./drivers/gpu/drm/vmwgfx in October 2026, and the footer proudly announces itself as vmw_surface_...ize_extended(9) one more time β€” main character energy, bookending the whole thing πŸ‘‘πŸ«Ά go drink some water and go read that header file bestie πŸ’–

πŸ“¦ where this page comes from