drm_gem_ttm_vmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gem_ttm_vmap(9) πŸ’…

okay so this is from the Kernel API Manual, and we're about to make vmap of a ttm_buffer_object make sense, bestie. no cap. ✨

✨ NAME ✨

drm_gem_ttm_vmap β€” the icon that is vmap &ttm_buffer_object, literally. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_gem_ttm_vmap (struct drm_gem_object *gem , struct iosys_map *map
);

πŸŽ€ ARGUMENTS πŸŽ€

  • gem β€” a GEM object. that's the whole vibe. πŸ’–
  • map β€” [out], and it returns the dma-buf mapping. output parameter realness, fr fr. 🫢

🌸 DESCRIPTION 🌸

okay so this maps a GEM object with ttm_bo_vmap. slay. This function can be used as drm_gem_object_funcs.vmap callback β€” like, literally that callback moment. ✨

⭐ RETURN ⭐

0 on success, or a negative errno code otherwise. periodt. πŸ’…

πŸ’œ SEE ALSO πŸ’œ


source ./drivers/gpu/drm, dated October 2026 β€” cute little sign-off, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from