vmw_collect_so_targets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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’s struct vmw_ctx_binding_state
  • biso β€” pointer to where the binding info array is stored in cbs
  • max_num β€” maximum number of entries in the bi array

πŸ¦‹ 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:


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