vmw_cmdbuf_res_add(9)
β¨ 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 astruct 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 π¦
- Kernel file:
./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c struct vmw_cmdbuf_res(9)struct vmw_cmdbuf_res_manager(9)vmw_cmdbuf_res_lookup(9)vmw_cmdbuf_res_free(9)vmw_cmdbuf_res_commit(9)vmw_cmdbuf_res_revert(9)vmw_cmdbuf_res_remove(9)vmw_cmdbuf_res_man_create(9)vmw_cmdbuf_res_man_destroy(9)
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
- 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