vmw_cmdbuf_res_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is the vmw_cmdbuf_res_add(9) page from the Kernel API Manual, bestie πŸ’…

vmw_cmdbuf_res_add β€” stage a command buffer managed resource for addition. periodt.


πŸŽ€ SYNOPSIS πŸŽ€

int vmw_cmdbuf_res_add (struct vmw_cmdbuf_res_manager *man , enum
       vmw_cmdbuf_res_type res_type , u32 user_key , struct vmw_resource *res ,
       struct list_head *list );

πŸ’… ARGUMENTS πŸ’…

  • man β€” pointer to the command buffer resource manager. the main character of this whole manager situation 🫢
  • res_type β€” the resource type. yes, the type of the resource, iconic.
  • user_key β€” the user-space id of the resource. iykyk πŸ”‘
  • res β€” valid (refcount != 0) pointer to a struct vmw_resource. so like, actually valid, not a zero-refcount vibe check fail 😭
  • list β€” the staging list. the little waiting room list πŸ’–

🌸 DESCRIPTION 🌸

so here’s the tea, bestie: this function allocates a struct vmw_cmdbuf_res entry and adds the resource to the hash table of the manager identified by man. then the entry gets put on the staging list identified by list. slay. ✨


πŸ¦‹ SEE ALSO πŸ¦‹


xoxo, signing off from ./drivers/gpu/drm/vmwgfx, dated October 2026, in full vmw_cmdbuf_res_add(9) era energy πŸ«ΆπŸ’–

πŸ“¦ where this page comes from