vmw_emit_set_so_target(9)
πΈ vmw_emit_set_so_target β like, the whole manual page, bestie πΈ
okay so quick vibe check first: this is a page from the Kernel API Manual, and the star of the show is a little function called vmw_emit_set_so_target(9). it lives in the kernel, it's giving graphics-driver energy, and it's here to do exactly one thing. let's get into it π
β¨ NAME β¨
vmw_emit_set_so_target β the function that, and I quote the source material here because this is literally the whole point, issues delayed streamout binding commands. that's it. that's the job. delayed. streamout. binding. commands. iconic behavior honestly π
π¦ SYNOPSIS π¦
int vmw_emit_set_so_target (struct vmw_ctx_binding_state *cbs );
so yes bestie, it returns an int, it takes one (1) argument, and the whole signature is right there. no cap, that's the entire synopsis. screenshot it, memorize it, put it on your lockscreen π«Ά
π ARGUMENTS π
cbsβ pointer to the context'sstruct vmw_ctx_binding_state. that's the vibe! it's a pointer, it's the context's binding state, and it is not optional. this is the one thing you gotta hand over β¨
π SEE ALSO π
okay this is the part where the manpage just absolutely goes off. like, the link list is LONG and honestly? respect. it also name-drops the kernel file itself: ./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c π₯ and then the whole friend group:
struct vmw_ctx_binding_state(9)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_state_scrub(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_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)
forty entries. FORTY. and every single one of them stays on this page, because we do not gatekeep our faves π
lowkey a reminder, bestie: every (9) up there is part of the name β copy it exactly when you go looking for them, don't be out here typoing the section number π
and that's the page!! mwah π this cutie lives under ./drivers/gpu/drm/vmwgfx, it's dated October 2026, and it's filed under vmw_emit_set_so_target(9) in the Kernel API Manual β so go forth, bind those delayed streamout commands, and slay π§ββοΈβπ
π¦ 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