drm_gem_ttm_vmap(9)
π 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 π
- the Kernel file
./drivers/gpu/drm/drm_gem_ttm_helper.coverview(9)β yes bestie, the whole overview situation. π drm_gem_ttm_print_info(9)drm_gem_ttm_vunmap(9)drm_gem_ttm_mmap(9)drm_gem_ttm_dumb_map_offset(9)
source ./drivers/gpu/drm, dated October 2026 β cute little sign-off, mwah πβ¨
π¦ 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