vmw_cmdbuf_preempt(9)
okay bestie, welcome to the vmw_cmdbuf_preempt(9) page from the Kernel API Manual β yes, that Kernel API Manual β and we're about to make this kernel command-buffer moment make sense π«Άβ¨
πΈ NAME πΈ
vmw_cmdbuf_preempt β send a preempt command through the device context. That's the name, that's the mission, and honestly it ate π
β¨ SYNOPSIS β¨
int vmw_cmdbuf_preempt (struct vmw_cmdbuf_man *man , u32 context );
π ARGUMENTS π
manβ the command buffer manager. That's the manager doing the command-buffer managing, no cap.contextβ device context to pass command through. Yes, the device context is the whole pass-through vibe here.
π¦ DESCRIPTION π¦
Synchronously sends a preempt command. That's the entire plot, bestie β synchronous, preempt command, send it. The sync is lowkey right there in the word, and that's iconic π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c β and here's the whole friend group, all present and accounted for:
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_startstop(9)vmw_cmdbuf_set_pool_size(9)vmw_cmdbuf_man_create(9)vmw_cmdbuf_remove_pool(9)vmw_cmdbuf_man_destroy(9)
mwah π before you go: this cutie's source/version is ./drivers/gpu/drm/vmwgfx, the date on it is October 2026, and the manual page is vmw_cmdbuf_preempt(9). go forth and preempt responsibly, bestie π
β¨
π¦ 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