vmw_collect_so_targets(9)
πΈ NAME πΈ
okay bestie, welcome to vmw_collect_so_targets(9) from the Kernel API Manual. This one has exactly one iconic job: Build SVGA3dSoTarget data for a binding command without checking which bindings actually need to be emitted. No extra vibe check, no βare u sureβ β it just collects. π
β¨ SYNOPSIS β¨
the whole signature is right here, copy-paste safe, no cap:
void vmw_collect_so_targets (struct vmw_ctx_binding_state *cbs , const
struct vmw_ctx_bindinfo_so_target *biso , u32 max_num );
π ARGUMENTS π
the three besties in this functionβs group chat:
cbsβ pointer to the contextβsstruct vmw_ctx_binding_statebisoβ pointer to where the binding info array is stored incbsmax_numβ maximum number of entries in thebiarray
π¦ DESCRIPTION π¦
okay so hereβs the tea: it scans the bi array for bindings and builds a buffer of SVGA3dSoTarget data. It stops at the first non-existing binding in the bi array. On output, cbs->bind_cmd_count contains the number of bindings to be emitted, cbs->bind_first_slot is set to zero, and cbs->bind_cmd_buffer contains the command data. Thatβs the whole glow-up. β¨
π SEE ALSO π
the whole friend group, every single reference, no skipping:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 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_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)
mwah π source/version: ./drivers/gpu/drm/vmwgfx; date: October 2026; and the star of the page is vmw_collect_so_targets(9). bestie you ate.
π¦ 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