vmw_dx_shade...e_list_scrub(9)
π 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 classicdev_privsituation, iykyk πlistβ the list of cotable resources. yes THE list. the one with the cotable resources on it. πreadbackβ aboolthat 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 π
vmw_res_to_dx_shader(9)vmw_dx_shader_commit_notify(9)vmw_dx_shader_unscrub(9)vmw_dx_shader_create(9)vmw_dx_shader_bind(9)vmw_dx_shader_scrub(9)vmw_dx_shader_unbind(9)vmw_dx_shader_res_free(9)vmw_dx_shader_add(9)vmw_shader_id_ok(9)vmw_shader_key(9)vmw_shader_remove(9)vmw_compat_shader_add(9)vmw_shader_lookup(9)
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
- 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