vmw_view_su...list_destroy(9)
β¨ vmw_view_surface_list_destroy(9) β¨
okay so bestie, this one's from the Kernel API Manual (the 9 section, kernel internals era π
) and it's honestly such a clean little function. Let's get into it π«Ά
πΈ NAME πΈ
vmw_view_surface_list_destroy β evict all views pointing to a surface. literally what it says on the tin, no cap β¨
π¦ SYNOPSIS π¦
void vmw_view_surface_list_destroy (struct vmw_private *dev_priv ,
struct list_head *list );
two args, void return, we love a no-drama signature π
π ARGUMENTS π
dev_privβ Pointer to a device private struct. that's your device's whole personality right there πlistβ List of views pointing to a surface. like, the actual guest list of views π
π DESCRIPTION π
So this function evicts all views pointing to a surface. That's the whole vibe. π§Ήβ¨
And the timing detail that matters: it's typically called before the surface is evicted β so think of it as the pre-game cleanup crew, getting all the views out of the way before the surface itself gets shown the door π
fr fr, do it before, not after β the ordering is literally the point π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_so.c β go read the source bestie, it's all there π
struct vmw_view(9)struct vmw_view_define(9)vmw_view(9)vmw_view_commit_notify(9)vmw_view_create(9)vmw_view_destroy(9)vmw_hw_view_destroy(9)vmw_view_key(9)vmw_view_id_ok(9)vmw_view_res_free(9)vmw_view_add(9)vmw_view_remove(9)vmw_view_cotable_list_destroy(9)vmw_view_srf(9)vmw_view_lookup(9)vmw_view_dirtying(9)
the whole view family reunion, honestly iconic π
That's the whole page, bestie β short, sweet, and it slays exactly as hard as it needs to. This one lives in ./drivers/gpu/drm/vmwgfx, from the October 2026 edition of the Kernel API Manual. 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