vmw_dx_shade...e_list_scrub(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_dx_shader_cotable_list_scrub β€” the kernely manual page, bestie edition

okay so this is section 9 of the Kernel API Manual, and the header got its little name squished to vmw_dx_shade...e_list_scrub(9) but we all know who she is πŸ’– the full name is right there in a sec, don't worry.


✨ NAME ✨

vmw_dx_shader_cotable_list_scrub β€” the unbind_func callback for DX shaders, no cap πŸŽ€

Like, that's literally her job title. She's the callback. She scrubs. She's booked and busy.


🌸 SYNOPSIS 🌸

void vmw_dx_shader_cotable_list_scrub (struct vmw_private *dev_priv ,
struct list_head *list , bool readback );

That's the whole signature, take it in 🫢 note she returns void β€” she does the work and she does not report back, main character energy honestly.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev_priv β€” pointer to the device private structure. your classic dev_priv situation, iykyk πŸ’œ
  • list β€” the list of cotable resources. yes THE list. the one with the cotable resources on it. 🌈
  • readback β€” a bool that tells you whether the call was part of a readback unbind. like, was this a readback unbind or not, that's the vibe check ✨

🧚 DESCRIPTION 🧚

So what does she actually do? She scrubs all the shader MOBs πŸ”₯

And why, you ask? Because after she's done, any subsequent shader unbind or shader destroy operation won't need to swap in the context 😭 that's the whole point, that's the flex, she's saving you a context swap.

literally just scrubbing MOBs so future shader unbinds and destroys don't have to swap in the context. that's the tea. β˜•

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file right here, in all its glory:

./drivers/gpu/drm/vmwgfx/vmwgfx_shader.c

and the whole friend group, besties fr fr πŸ’•

like, the entire shader cinematic universe 🌟 go read them, I'll wait πŸ’…


okay and that's the page!! this little icon came out of ./drivers/gpu/drm/vmwgfx, dated October 2026, and she's filed under the Kernel API Manual πŸŽ€ slay, go scrub some MOBs, ily, bye πŸ’–βœ¨

πŸ“¦ where this page comes from