vmw_bo_fence_single(9)
π vmw_bo_fence_single(9) β like, the whole glow-up
okay so bestie, welcome to the Kernel API Manual entry for vmw_bo_fence_single(9) β yes that's the page name, yes I'm putting it right at the top so you don't get lost, you're welcome π«Ά. This is one of those tiny utility functions that does exactly one job and does it iconically. Let's get into it β¨
πΈ NAME πΈ
vmw_bo_fence_single β a utility function to fence a single TTM buffer object without unreserving it. That's the whole personality, no cap π
β¨ SYNOPSIS β¨
void vmw_bo_fence_single (struct ttm_buffer_object *bo , struct
vmw_fence_obj *fence );
literally just two pointers, one function, zero drama. we love a minimal signature π
π ARGUMENTS π
boβ pointer to thestruct ttm_buffer_objectthat you want to fence. this is the main character of the operation, the buffer object in question πfenceβ pointer to the fence. and here's the fun part bestie: if it'sNULL, this function will insert a fence into the command stream. so like, no fence? no problem, it makes one for you πͺβ¨
π¦ DESCRIPTION π¦
so contrary to the ttm_eu version of this function, ours is a solo act β it takes only a single buffer object instead of a whole list. one bo, one vibe, no crowd π
and it also doesn't unreserve the buffer object β which, real talk, means you have to do that part separately yourself. it's giving "I handled the fence, the unreserve is a you problem" π but like, respectfully. don't forget it, fr fr π
β SEE ALSO β
the kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c and its whole friend group, in order, because we're thorough queens:
vmw_bo_free(9)vmw_bo_pin_in_placement(9)vmw_bo_pin_in_vram_or_gmr(9)vmw_bo_pin_in_vram(9)vmw_bo_pin_in_start_of_vram(9)vmw_bo_unpin(9)vmw_bo_get_guest_ptr(9)vmw_bo_pin_reserved(9)vmw_bo_map_and_cache(9)vmw_bo_unmap(9)vmw_bo_init(9)vmw_user_bo_synccpu_grab(9)vmw_user_bo_synccpu_release(9)vmw_user_bo_synccpu_ioctl(9)vmw_bo_unref_ioctl(9)vmw_user_bo_lookup(9)vmw_bo_swap_notify(9)vmw_bo_move_notify(9)
go read them, they're all slay in their own way π§π
quick reminder bestie: no unreserving happens here. that's a separate step. i know. i know. but them's the rules π
source lives under ./drivers/gpu/drm/vmwgfx, this manual page is dated October 2026, and it's filed under vmw_bo_fence_single(9) β mwah, that's the whole page, ily, bye πππ
π¦ 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