vmw_user_sur..._base_to_res(9)
π vmw_user_sur..._base_to_res(9) β the Kernel API Manual page, but make it make sense π
okay so bestie, this is a page straight out of the Kernel API Manual, and yes the title is genuinely abbreviated like that β vmw_user_sur..._base_to_res(9) β somebody's terminal was NOT wide enough and honestly? relatable. it's vmw_user_surface_base_to_res in full, and it lives in the vmwgfx corner of the kernel tree. let's get into it, no cap. β¨
πΈ NAME πΈ
vmw_user_surface_base_to_res β the TTM base object to resource converter for user visible surfaces. that's it, that's the whole gig, she converts, she slays π
π¦ SYNOPSIS π¦
struct vmw_resource * vmw_user_surface_base_to_res (struct
ttm_base_object *base );
π ARGUMENTS π
baseβ a pointer to a TTM base object. that's the thing you're handing over, bestie π«Ά
β DESCRIPTION β
so what she does: vmw_user_surface_base_to_res returns the struct vmw_resource embedded in a struct vmw_surface, for the user-visible object that's identified by the TTM base object base.
literally just reaches in, grabs the resource out of the surface, hands it back. iconic behavior honestly π₯
π SEE ALSO π
the whole friend group, and yeah there's a LOT of them β she keeps her circle big π
- 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_create(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_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)
ok that's the whole page, nothing hidden, nothing skipped β every last (9) reference is right there where it belongs, promise π
and that's a wrap, bestie!! π§ this page comes to you from the source at ./drivers/gpu/drm/vmwgfx, dated October 2026, and it's filed under vmw_user_sur..._base_to_res(9). go forth and convert those base objects, 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