vmw_binding_state_scrub(9)
β¨ vmw_binding_state_scrub(9) β¨
okay so welcome to the Kernel API Manual bestie π this one is a lil function page and honestly it's giving "short but iconic" β we're talking about clearing out bindings, no biggie, but like... very important no biggie. let's get into it π
π NAME π
vmw_binding_state_scrub β scrubs all the bindings associated with a struct vmw_ctx_binding state structure. like, all of them. every last one. it's a full reset vibe check π§Ήβ¨
πΈ SYNOPSIS πΈ
void vmw_binding_state_scrub (struct vmw_ctx_binding_state *cbs );
that's it. that's the whole signature. she's simple, she's clean, she returns void because she's not here to give you answers, she's here to do the thing πββοΈ
π¦ ARGUMENTS π¦
cbsβ pointer to the context binding state tracker. this is the main character of the whole function, the thing you hand over so she knows which state tracker to scrub. without it she's just a girl with no context, literally π
π₯ DESCRIPTION π₯
so what does she actually do? she emits commands to scrub all bindings associated with the context binding state tracker. that's it, that's the whole job description π
imgaine β no wait, imagine β you've got a context binding state tracker full of bindings, and every single one of them needs to go. this function is the one who emits the commands that make that happen. not me being dramatic, it's literally what the manpage says π«Ά
ngl there aren't any extra options, return values, or env vars on this page β she's a one-trick pony and she ate. don't go looking for hidden flags, bestie, there are none π
π SEE ALSO π
the friend group π β first up, the file and the struct where all this lives:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_binding.candstruct vmw_ctx_binding_state(9)
and then the whole squad, in order, no cap:
struct vmw_binding_info(9)vmw_cbs_context(9)vmw_binding_loc(9)vmw_binding_drop(9)vmw_binding_add(9)vmw_binding_cb_offset_update(9)vmw_binding_add_uav_index(9)vmw_binding_transfer(9)vmw_binding_state_kill(9)vmw_binding_res_list_kill(9)vmw_binding_res_list_scrub(9)vmw_binding_state_commit(9)vmw_binding_rebind_all(9)vmw_binding_scrub_shader(9)vmw_binding_scrub_render_target(9)vmw_binding_scrub_texture(9)vmw_binding_scrub_dx_shader(9)vmw_binding_scrub_cb(9)vmw_collect_view_ids(9)vmw_collect_dirty_view_ids(9)vmw_emit_set_sr(9)vmw_emit_set_rt(9)vmw_collect_so_targets(9)vmw_emit_set_so_target(9)vmw_binding_emit_dirty_ps(9)vmw_collect_dirty_vbs(9)vmw_emit_set_vb(9)vmw_binding_emit_dirty(9)vmw_binding_scrub_sr(9)vmw_binding_scrub_dx_rt(9)vmw_binding_scrub_so_target(9)vmw_binding_scrub_vb(9)vmw_binding_scrub_ib(9)vmw_binding_scrub_so(9)vmw_binding_state_alloc(9)vmw_binding_state_free(9)vmw_binding_state_list(9)vmw_binding_state_reset(9)vmw_binding_dirtying(9)
like, go read them, they're all slaying in their own way πβ
and that's the whole page!! π this lil baddie lives in ./drivers/gpu/drm/vmwgfx, this printing is the October 2026 edition of vmw_binding_state_scrub(9) β mwah, go scrub some bindings, bestie πππ¦
π¦ 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