vmw_surface_min_loc(9)
π vmw_surface_min_loc(9) β like, the Kernel API Manual, bestie β¨
okay so this is a page from the Kernel API Manual and it's all about vmw_surface_min_loc β literally the start location in a subresource π no cap, that's the whole vibe.
πΈ NAME πΈ
vmw_surface_min_loc β the start location in a subresource β¨
π¦ SYNOPSIS π¦
void vmw_surface_min_loc (const struct vmw_surface_cache *cache , u32
sub_resource , struct vmw_surface_loc *loc );
π ARGUMENTS π
cacheβ the surface layout data, aka the whole blueprint of how this surface is laid out πΊοΈsub_resourceβ the subresource in question, au32bestie π«locβ a pointer to astruct vmw_surface_locthat gets filled in π«Ά that's the whole point, it's giving "here's your location, queen"
π SEE ALSO π
the kernel file is right here, iykyk:
./drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
and the whole friend group, fr fr:
vmw_surface_get_desc(9)vmw_surface_get_mip_size(9)vmw_surface_get_image_buffer_size(9)vmw_surface_get_serialized_size(9)vmw_surface_get_serialized_size_extended(9)vmw_surface_get_pixel_offset(9)vmw_surface_is_gb_screen_target_format(9)vmw_surface_is_dx_screen_target_format(9)vmw_surface_is_screen_target_format(9)struct vmw_surface_mip(9)struct vmw_surface_cache(9)struct vmw_surface_loc(9)vmw_surface_subres(9)vmw_surface_setup_cache(9)vmw_surface_get_loc(9)vmw_surface_inc_loc(9)
π reminder that this is kernel API territory, so keep the signatures exactly as they are β no "fixing" them, periodt.
π mwah, that's a wrap! this iconic little page lives in ./drivers/gpu/drm/vmwgfx, and it was dated October 2026 β yeah, the future, main character energy fr π
β¨π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms