vmw_cmdbuf_set_pool_size(9)
π vmw_cmdbuf_set_pool_size(9) π
okay bestie, this is the page for vmw_cmdbuf_set_pool_size from the Kernel API Manual β yes, manual name is folded in near the top like a civilized group chat, and no, we are not copying that big header line. π«Ά
β¨ NAME β¨
vmw_cmdbuf_set_pool_size β Set command buffer manager sizes. Thatβs literally the name and the whole job, no cap. π
π¦ SYNOPSIS π¦
The signature stays exactly like this, because code is not a vibe we freestyle:
int vmw_cmdbuf_set_pool_size (struct vmw_cmdbuf_man *man , size_t size
);
π ARGUMENTS π
manβ The command buffer manager. Thatβs the main character of this function. πsizeβ The size of the main space pool. Big or small, this is the number it gets. π
π DESCRIPTION π
So what this function does is set the size and allocate the main command buffer space pool. Slay. β¨ If itβs successful, that enables large command submissions β highkey iconic. π₯
Heads up though, bestie: this function requires that rudimentary command submission is already available and that the MOB memory manager is alive. Like, those two things need to be up and running before you come for this function, periodt. π«Ά
It returns 0 on success. On failure, it returns a negative error code. π
π SEE ALSO π
If youβre going down the rabbit hole, hereβs the whole crew β every single reference, keeping it exact:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c 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_pool(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_man_create(9)vmw_cmdbuf_remove_pool(9)vmw_cmdbuf_man_destroy(9)
mwah π and thatβs the page. Source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 π
π¦ 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