vmw_bo_pin_in_start_of_vram(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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, -ERESTARTSYS if interrupted by a signal πŸ’€

🫢 SEE ALSO 🫢

kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c, plus the whole friend group:


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