vmw_collect_view_ids(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vmw_collect_view_ids(9) ✨

okay so bestie, this one is a kernel API manual page from section 9 β€” the vmw_collect_view_ids function. she's a little niche, a little GPU-driver-core, but we're gonna get through it together πŸ’…


πŸŽ€ NAME πŸŽ€

vmw_collect_view_ids β€” builds view id data for a view binding command without checking which bindings actually need to be emitted ✨

🌸 SYNOPSIS 🌸

void vmw_collect_view_ids (struct vmw_ctx_binding_state *cbs , const
       struct vmw_ctx_bindinfo_view *biv , u32 max_num );

πŸ’– ARGUMENTS πŸ’–

  • cbs β€” pointer to the context's struct vmw_ctx_binding_state 🫢
  • biv β€” pointer to where the binding info array is stored in cbs
  • max_num β€” the maximum number of entries in the bi array, fr fr

πŸ¦‹ DESCRIPTION πŸ¦‹

So the way this works: she scans the bi array for bindings and builds a buffer of view id data. that's it, that's the vibe ✨

She stops at the first non-existing binding in the bi array β€” like, that's the cutoff, no cap πŸ’€

On output:

  • cbs->bind_cmd_count contains the number of bindings to be emitted
  • cbs->bind_first_slot is set to zero
  • cbs->bind_cmd_buffer contains the command data

like, she's giving very much "do the thing and report back" energy πŸ‘‘

🧚 SEE ALSO 🧚

Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c plus a whole friend group of structs and functions β€” she literally knows everyone:


and that's the whole page, bestie β€” 100% of the facts, 0% of the boring 🫢

this icon lives in ./drivers/gpu/drm/vmwgfx, the source is the Kernel API Manual, and she was dated October 2026 β€” so go forth and collect those view ids, iykyk πŸ’œπŸŽ€

πŸ“¦ where this page comes from