vmw_gb_surf...ne_ext_ioctl(9)
π NAME
Okay so bestie, gather round: this is vmw_gb_surface_define_ext_ioctl β the ioctl function that implements the user surface define functionality. That's it, that's the whole flex β¨ (and yes, we're living in the Kernel API Manual, welcome to the party π)
β¨ SYNOPSIS
int vmw_gb_surface_define_ext_ioctl (struct drm_device *dev , void *data
, struct drm_file *file_priv );
Literal main character energy: int in, three args, no cap. π«Ά
π ARGUMENTS
Let's do a vibe check on the three besties this function takes π
devβ Pointer to astruct drm_device. Your whole GPU situation, basically.dataβ Pointer to data copied from / to user-space. It goes both ways, lowkey iconic.file_privβ Pointer to adrmfile private structure. The private file tea β
π¦ SEE ALSO
The whole group chat, fr fr β no one gets left on read πβ¨
So first the file itself: Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_surface.c, plus struct vmw_user_surface(9), struct vmw_surface_offset(9), struct vmw_surface_dirty(9).
Then the sizing squad π: vmw_surface_dma_size(9), vmw_surface_define_size(9), vmw_surface_destroy_size(9).
Then the encoding crew πΈ: vmw_surface_destroy_encode(9), vmw_surface_define_encode(9), vmw_surface_dma_encode(9), vmw_hw_surface_destroy(9).
Then the legacy legends π: 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).
Then the surface core π: vmw_surface_init(9), vmw_user_surface_base_to_res(9), vmw_user_surface_free(9), vmw_user_surface_base_release(9).
Then the ioctl icons π: 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_reference_ext_ioctl(9).
Then the internals, iykyk π₯: vmw_gb_surface_define_internal(9), vmw_gb_surface_reference_internal(9).
And finally the dirty/dumb duo π: vmw_subres_dirty_add(9), vmw_subres_dirty_full(9), vmw_dumb_create(9).
That's the whole page, bestie β every flag-free, option-free, argument-having detail accounted for. Nothing skipped, nothing invented, periodt π
Signing off from ./drivers/gpu/drm/vmwgfx, dated October 2026, with the header energy of vmw_gb_surf...ne_ext_ioctl(9) β go be an icon and define those user surfaces π¦πβ¨
π¦ 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