drm_gpuvm_bo_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gpuvm_bo_create β€” Kernel API Manual ✨

okay so bestie, welcome to the drm_gpuvm_bo_create(9) page β€” yes it's a kernel API manual, yes we're gonna read it, and yes you're gonna slay it 🫢


🌸 NAME 🌸

drm_gpuvm_bo_create β€” create a new instance of struct drm_gpuvm_bo πŸ’–


✨ SYNOPSIS ✨

struct drm_gpuvm_bo * drm_gpuvm_bo_create (struct drm_gpuvm *gpuvm ,
struct drm_gem_object *obj );

πŸŽ€ ARGUMENTS πŸŽ€

  • gpuvm β€” the drm_gpuvm that obj is mapped in, like, that's its whole home base 🏠
  • obj β€” the drm_gem_object that's being mapped in the gpuvm, the actual star of the show ngl ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: if the driver provides it, this function uses the drm_gpuvm_ops vm_bo_alloc callback to do the allocating. literally that's it, that's the whole teapot πŸ«–βœ¨


πŸ”₯ RETURN πŸ”₯

a pointer to the drm_gpuvm_bo on success πŸŽ‰, NULL on failure 😭 (no cap, that's just how it is)


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group showed up, and we're listing every single one bc nobody gets left out πŸ’œ

Kernel file ./drivers/gpu/drm/drm_gpuvm.c, plus:


aaaaand that's the page!! πŸŽ€ source is ./drivers/gpu/drm, dated October 2026, and the whole thing answers to the name drm_gpuvm_bo_create(9) πŸ¦‹ mwah, go create some buffer objects bestie πŸ’…πŸ’–

πŸ“¦ where this page comes from