vmw_surface_get_mip_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_surface_get_mip_size(9) β€” Kernel API Manual ✨

okay bestie, welcome to the kernel API manual, this one's filed under vmw_surface_get_mip_size(9) and it's lowkey a little cutie πŸŽ€


✨ NAME ✨

vmw_surface_get_mip_size β€” give it a base level size and a mip level, and it computes the size of that mip level. that's it, that's the whole job, and it does it flawlessly πŸ’–


🌸 SYNOPSIS 🌸

struct drm_vmw_size vmw_surface_get_mip_size (struct drm_vmw_size base_level , u32 mip_level );

so it takes in a struct drm_vmw_size and a u32, and hands you back a struct drm_vmw_size. returns the whole struct right there in the signature, no mystery, no drama πŸ¦‹


🫢 ARGUMENTS 🫢

  • base_level β€” the base level size, bestie. and ngl the original docs literally just say "-- undescribed --" for this one πŸ™ˆ so like… that's the vibe we're working with, no cap. it's the base level size and it's a struct drm_vmw_size.
  • mip_level β€” the mip level, obviously πŸ’… and fr fr, the source also just says "-- undescribed --" here too 😭 so we're keeping it 100: it's a u32, it's the mip level, that's what we know.
okay so the manpage itself does not describe these two args any further than that. not me covering for it, just being honest with you 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file for all this lives at:

./drivers/gpu/drm/vmwgfx/vmw_surface_cache.h

and the whole friend group shows up too, periodt:

like, that's the entire group chat right there, go say hi πŸ’œ


πŸŽ€ and that's the page!! πŸŽ€ it's from the ./drivers/gpu/drm/vmwgfx gang, dated October 2026 β€” iconique behavior only, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from