vmw_view_dirtying(9)
π vmw_view_dirtying β the kernel API manual, bestie edition β¨
Okay so you're reading the vmw_view_dirtying(9) page from the Kernel API Manual and honestly? It's a little guy with a big job. Let's get into it π«Ά
β¨ NAME β¨
vmw_view_dirtying β returns whether a view type is dirtying its resource π
πΈ SYNOPSIS πΈ
u32 vmw_view_dirtying (struct vmw_resource *res );
π ARGUMENTS π
resβ a pointer to the view. That's it, that's the whole argument, she's lowkey minimal and we respect it π
π¦ DESCRIPTION π¦
So here's the vibe: every single time a resource gets put on the validation list as the result of a view pointing to it, we gotta figure out whether that resource is gonna get dirtied β meaning written to by the GPU β as a result of the corresponding GPU operation. No cap, that's the whole question this function answers π
And currently? Only three view types are capable of dirtying their resource:
- rendertarget views
- depth-stencil views
- unordered access views
That's the list, periodt β¨
β RETURN β
It returns whether the view type of res dirties the resource it points to. Iconic behaviour, honestly π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_so.c, plus the whole friend group:
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_surface_list_destroy(9)vmw_view_srf(9)vmw_view_lookup(9)
Bestie, quick vibe check before you go: this page lives in./drivers/gpu/drm/vmwgfxand it's dated October 2026 β go read the source,vmw_view_dirtying(9)is right there waiting for you π§ββοΈπ
Slay, you read the whole manpage. Byeee π«
π¦ 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