vmw_surface_setup_cache(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_surface_setup_cache(9) πŸ’…

okay so bestie, this one's from the Kernel API Manual, and it is literally about building a surface cache entry. no cap, that's the whole vibe. 🫢


✨ NAME ✨

vmw_surface_setup_cache β€” Build a surface cache entry


🌈 SYNOPSIS 🌈

int vmw_surface_setup_cache (const struct drm_vmw_size *size ,
       SVGA3dSurfaceFormat format , u32 num_mip_levels , u32 num_layers , u32
       num_samples , struct vmw_surface_cache *cache );

πŸŽ€ ARGUMENTS πŸŽ€

  • size β€” the surface base level dimensions. iconic.
  • format β€” the surface format. slay.
  • num_mip_levels β€” number of mipmap levels.
  • num_layers β€” number of layers.
  • num_samples β€” okay so the source literally says -- undescribed -- and i'm not gonna invent lore πŸ’€
  • cache β€” pointer to a struct vmw_surface_cach object to be filled in. (yes, cach β€” that's exactly what the original says, don't come for me πŸ™ˆ)

πŸ’– RETURN πŸ’–

Zero on success, -EINVAL on invalid surface layout. that's the tea. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

mwah πŸ’‹ that's the whole page, bestie β€” source/version ./drivers/gpu/drm/vmwgfx, dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from