vmw_cmdbuf_space_pool(9)
π vmw_cmdbuf_space_pool β Kernel API Manual β¨
okay bestie, welcome to the vmw_cmdbuf_space_pool(9) page, straight out of the Kernel API Manual π this is the one that hooks you up with command buffer space from the big main pool and gets a header all set up for you. slay.
πΈ NAME πΈ
vmw_cmdbuf_space_pool β set up a command buffer header with command buffer space from the main pool π«Ά
β¨ SYNOPSIS β¨
int vmw_cmdbuf_space_pool (struct vmw_cmdbuf_man *man , struct
vmw_cmdbuf_header *header , size_t size , bool interruptible );
like literally that's the whole call signature, no cap π₯
π ARGUMENTS π
manβ the command buffer manager, your main character πheaderβ pointer to the header you're setting up, bestie. like it's the header π―sizeβ the requested size of the buffer space. you ask for what you ask for πinterruptibleβ whether to sleep interruptible while waiting for space π΄ lowkey important: this is the "can I be woken up mid-wait" vibe check
π¦ SEE ALSO π¦
if you wanna go down the rabbit hole (iykyk), the kernel file lives at ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c and there's a whole friend group of related pages: struct vmw_cmdbuf_context(9), struct vmw_cmdbuf_man(9), struct vmw_cmdbuf_header(9), struct vmw_cmdbuf_dheader(9), struct vmw_cmdbuf_alloc_info(9), vmw_cmdbuf_cur_lock(9), vmw_cmdbuf_cur_unlock(9), vmw_cmdbuf_header_inline_free(9), __vmw_cmdbuf_header_free(9), vmw_cmdbuf_header_free(9), vmw_cmdbuf_header_submit(9), vmw_cmdbuf_ctx_init(9), vmw_cmdbuf_ctx_submit(9), vmw_cmdbuf_ctx_process(9), vmw_cmdbuf_man_process(9), vmw_cmdbuf_ctx_add(9), vmw_cmdbuf_irqthread(9), vmw_cmdbuf_work_func(9), vmw_cmdbuf_man_idle(9), __vmw_cmdbuf_cur_flush(9), vmw_cmdbuf_cur_flush(9), vmw_cmdbuf_idle(9), vmw_cmdbuf_try_alloc(9), vmw_cmdbuf_alloc_space(9), vmw_cmdbuf_space_inline(9), vmw_cmdbuf_alloc(9), vmw_cmdbuf_reserve_cur(9), vmw_cmdbuf_commit_cur(9), vmw_cmdbuf_reserve(9), vmw_cmdbuf_commit(9), vmw_cmdbuf_send_device_command(9), vmw_cmdbuf_preempt(9), vmw_cmdbuf_startstop(9), vmw_cmdbuf_set_pool_size(9), vmw_cmdbuf_man_create(9), vmw_cmdbuf_remove_pool(9), and vmw_cmdbuf_man_destroy(9) β go read them all, fr fr π
ngl the whole cmdbuf family is giving "ensemble cast" energy π
okay that's the page!! mwah π β this lil writeup was brought to you by ./drivers/gpu/drm/vmwgfx, dated October 2026, from the Kernel API Manual. periodt. πβ¨
π¦ 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