STRUCT VMW_SURFACE_LOC(9)
β¨ NAME β¨
okay so bestie, welcome to the Kernel API Manual page for struct vmw_surface_loc(9) π it's literally Surface location β that's the whole vibe. No cap. This struct is the little cutie that carries a surface location, and we're gonna go through every member because we do not skip. Periodt. π«Ά
π SYNOPSIS π
struct vmw_surface_loc {
u32 sheet;
u32 sub_resource;
u32 x, y, z;
};
π Members π
sheetβ the multisample sheet. Slay. πsub_resourceβ the Surface subresource. It's defined aslayer * num_mip_levels + mip_level. Like, that's the formula, bestie β memorize it. π«Άxβ X coordinate. iconic.yβ Y coordinate. also iconic.zβ Z coordinate. 3D queen behavior. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/vmwgfx/vmw_surface_cache.h β go read it, bestie.
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)vmw_surface_subres(9)vmw_surface_setup_cache(9)vmw_surface_get_loc(9)vmw_surface_inc_loc(9)vmw_surface_min_loc(9)
byeeeee π this cutie comes from ./drivers/gpu/drm/vmwgfx, dated October 2026, and it's the struct vmw_surface_loc(9) page. mwah! π
π¦ 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