vmw_dx_shader_scrub(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_dx_shader_scrub(9) β€” the Kernel API Manual, but make it cute πŸ’…

πŸŽ€ NAME πŸŽ€

vmw_dx_shader_scrub β€” the function that gets the device to unbind a MOB from a DX shader, bestie.


✨ SYNOPSIS ✨

int vmw_dx_shader_scrub (struct vmw_resource *res );

🌸 ARGUMENTS 🌸

  • res β€” the shader resource. That’s the one, the only, the resource in question. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this function unbinds a MOB from the DX shader without requiring the MOB dma_buffer to be reserved first. No cap, that’s the whole little magic trick. ✨

But the plot twist is that the driver still considers the MOB bound. Yep, still on the books. So even after this scrub situation, it’s not like the driver is pretending the MOB was never bound.

Then later, once the driver eventually decides to unbind the MOB, it doesn’t need to access the context. That’s it, that’s the vibe. πŸ¦‹


πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_shader.c


This page is serving source/version + date realness from ./drivers/gpu/drm/vmwgfx, dated October 2026, and the page tag is literally vmw_dx_shader_scrub(9). Slay, bye πŸ’‹βœ¨

πŸ“¦ where this page comes from