vmw_cmdbuf_idle(9)
π vmw_cmdbuf_idle(9) β Kernel API Manual π
okay so bestie, welcome to the vmw_cmdbuf_idle(9) glow-up from the Kernel API Manual β¨ this page is short, iconic, and fully loaded with the exact deets. no cap π«Ά
πΈ NAME πΈ
vmw_cmdbuf_idle β Wait for command buffer manager idle. That's the whole name section, and honestly it ate π
β¨ SYNOPSIS β¨
int vmw_cmdbuf_idle (struct vmw_cmdbuf_man *man , bool interruptible ,
unsigned long timeout );
π ARGUMENTS π
manβ The command buffer manager. This is the main character we're waiting on πinterruptibleβ Sleep interruptible while waiting. Yes bestie, that's the vibe πtimeoutβ Time out after this many ticks. Clock is ticking, fr fr β³
π¦ DESCRIPTION π¦
Here's the tea: vmw_cmdbuf_idle waits until the command buffer manager has processed all command buffers, or until a timeout occurs. If a timeout occurs, the function will return -EBUSY. That's the plot twist, and it is literally right there ππ₯
π SEE ALSO π
the whole linked-up squad, all exact and accounted for:
- Kernel file:
./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c - Structs:
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) - Locking + header helpers:
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) - Context + process crew:
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) - IRQ + work + idle:
vmw_cmdbuf_irqthread(9),vmw_cmdbuf_work_func(9),vmw_cmdbuf_man_idle(9) - Flush + alloc space squad:
__vmw_cmdbuf_cur_flush(9),vmw_cmdbuf_cur_flush(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) - Reserve + commit girlies:
vmw_cmdbuf_reserve_cur(9),vmw_cmdbuf_commit_cur(9),vmw_cmdbuf_reserve(9),vmw_cmdbuf_commit(9) - Device command + lifecycle:
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),vmw_cmdbuf_man_destroy(9)
and that's the page, bestie π source/version: ./drivers/gpu/drm/vmwgfx; date: October 2026; page: vmw_cmdbuf_idle(9). mwah π
π¦ 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