vmw_bo_pin_in_start_of_vram(9)
π vmw_bo_pin_in_start_of_vram π
okay bestie, welcome to the Kernel API Manual β¨ this one's vmw_bo_pin_in_start_of_vram(9), and yes it's giving very specific, very niche, very slay π
πΈ NAME πΈ
vmw_bo_pin_in_start_of_vram β move a buffer to start of vram. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int vmw_bo_pin_in_start_of_vram (struct vmw_private *dev_priv , struct
vmw_bo *buf , bool interruptible );
π¦ ARGUMENTS π¦
dev_privβ driver private. the driver's own little private stash, iykyk πbufβ DMA buffer to pin. this is the buffer we're pinning down, main character energy πinterruptibleβ use interruptible wait. basically: can this wait get interrupted? choose wisely β¨
π DESCRIPTION π
so like, this function takes the reservation_sem in write mode. no cap. π
then it flushes and unpins the query bo, and the whole reason is literally to avoid failures. that's the tea β
π RETURN π
- Zero on success π
- Negative error code on failure π
- in particular,
-ERESTARTSYSif interrupted by a signal π
π«Ά SEE ALSO π«Ά
kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c, plus the whole friend group:
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_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_fence_single(9)vmw_bo_swap_notify(9)vmw_bo_move_notify(9)
okay that's the whole page, bestie π and for the cute little sign-off: this one lives in ./drivers/gpu/drm/vmwgfx, dated October 2026, and the manual is literally vmw_bo_pin_in_start_of_vram(9) π
β¨ periodt.
π¦ 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