vmw_collect_dirty_view_ids(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vmw_collect_dirty_view_ids(9) ✨

okay so this page is straight out of the Kernel API Manual, and it's all about vmw_collect_dirty_view_ids β€” the function that builds view id data for a view binding command. bestie, it's giving kernel-internals realness πŸ’….


πŸŽ€ NAME πŸŽ€

vmw_collect_dirty_view_ids β€” Build view id data for a view binding command.


πŸ› οΈ SYNOPSIS πŸ› οΈ

void vmw_collect_dirty_view_ids (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo *bi , unsigned long *dirty , u32 max_num );

πŸ’– ARGUMENTS πŸ’–

  • cbs β€” Pointer to the context's struct vmw_ctx_binding_state. 🫢
  • bi β€” Pointer to where the binding info array is stored in cbs.
  • dirty β€” Bitmap indicating which bindings need to be emitted. ✨
  • max_num β€” Maximum number of entries in the bi array.

🌸 DESCRIPTION 🌸

okay so vmw_collect_dirty_view_ids scans the bi array for bindings that need to be emitted, then builds a buffer of view id data. on output, cbs->bind_cmd_count contains the number of bindings to be emitted, cbs->bind_first_slot indicates the index of the first emitted binding, and cbs->bind_cmd_buffer contains the command data. lowkey iconic that it does all that in one go πŸ’….


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c.

the whole cross-ref crew:


peace out bestie πŸ’– β€” this page's source/version situation is ./drivers/gpu/drm/vmwgfx, dated October 2026, and it's vmw_collect_dirty_view_ids(9). periodt. 🌈

πŸ“¦ where this page comes from