vmw_legacy_srf_create(9)
π
vmw_legacy_srf_create(9) β¨
okay so welcome to the Kernel API Manual, bestie β todayβs main character is vmw_legacy_srf_create(9), and yes she ate. π«Ά
π NAME π
vmw_legacy_srf_create β creates a device surface as part of the resource validation process. slay. π
πΈ SYNOPSIS πΈ
int vmw_legacy_srf_create (struct vmw_resource *res );
π ARGUMENTS π
resβ pointer to astruct vmw_surface. π«Ά
π¦ DESCRIPTION π¦
okay so this is the move for when the surface doesn't have a hw id. β¨
It returns -EBUSY if there wasn't sufficient device resources to complete the validation. Retry after freeing up resources. π
May return other errors if the kernel is out of guest resources. no cap. π
π SEE ALSO π
go read these, bestie β the whole squad is here:
- Kernel file:
./drivers/gpu/drm/vmwgfx/vmwgfx_surface.cπ struct vmw_user_surface(9)struct vmw_surface_offset(9)struct vmw_surface_dirty(9)vmw_surface_dma_size(9)vmw_surface_define_size(9)vmw_surface_destroy_size(9)vmw_surface_destroy_encode(9)vmw_surface_define_encode(9)vmw_surface_dma_encode(9)vmw_hw_surface_destroy(9)vmw_legacy_srf_dma(9)vmw_legacy_srf_bind(9)vmw_legacy_srf_unbind(9)vmw_legacy_srf_destroy(9)vmw_surface_init(9)vmw_user_surface_base_to_res(9)vmw_user_surface_free(9)vmw_user_surface_base_release(9)vmw_surface_destroy_ioctl(9)vmw_surface_define_ioctl(9)vmw_surface_reference_ioctl(9)vmw_gb_surface_create(9)vmw_gb_surface_define_ioctl(9)vmw_gb_surface_reference_ioctl(9)vmw_gb_surface_define_ext_ioctl(9)vmw_gb_surface_reference_ext_ioctl(9)vmw_gb_surface_define_internal(9)vmw_gb_surface_reference_internal(9)vmw_subres_dirty_add(9)vmw_subres_dirty_full(9)vmw_dumb_create(9)
xoxo π from ./drivers/gpu/drm/vmwgfx, October 2026 β vmw_legacy_srf_create(9) signing off β¨
π¦ 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