vmw_view_dirtying(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


Bestie, quick vibe check before you go: this page lives in ./drivers/gpu/drm/vmwgfx and 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