vmw_cmdbuf_space_inline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_cmdbuf_space_inline(9) β€” the Kernel API Manual page, bestie edition πŸŽ€

okay so you're reading vmw_cmdbuf_space_inline(9) from the Kernel API Manual, and honestly? it's giving "small but crucial". literally the whole job is: you've got a command buffer header, and you're setting it up so it has inline command buffer space. that's it. that's the function. slay. ✨


πŸ’– NAME πŸ’–

vmw_cmdbuf_space_inline β€” sets up a command buffer header with inline command buffer space. yes, that's the whole thing, and no, it doesn't need to be more complicated than that πŸ’…


🌸 SYNOPSIS 🌸

int vmw_cmdbuf_space_inline (struct vmw_cmdbuf_man *man , struct
vmw_cmdbuf_header *header , int size );

notice the int it hands back? that's your return value, bestie, don't lose it 🫢


✨ ARGUMENTS ✨

  • man β€” the command buffer manager. your main character, the one in charge of the whole cmdbuf situation πŸ‘‘
  • header β€” pointer to the header you're setting up. like, you're literally handing it a glow-up rn πŸŽ€
  • size β€” the requested size of the buffer space. how much room it's gonna get β€” that's the ask, so say it with your chest πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

the lore is deep, so buckle up, because here's the whole friend group fr fr:

the kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c, plus:

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_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), vmw_cmdbuf_man_destroy(9)

no cap, that's every single one of them β€” go read them all if you want the full vibe check πŸ”₯


ngl this one's short and sweet, so there's really no caveat to warn you about β€” just don't forget the return value, okay? 🫢

alright bestie, that's the page! this cutie came from ./drivers/gpu/drm/vmwgfx, dated October 2026 β€” so yeah, she's fresh, she's documented, and she ate πŸ’…βœ¨

πŸ“¦ where this page comes from