amdgpu_ttm_tt_create(9)
π amdgpu_ttm_tt_create(9) β a Kernel API Manual moment
okay bestie, so this page is from the Kernel API Manual (section 9, kernel internals, iykyk) and it's all about one little function that makes a ttm_tt object. short page, but she ate β¨
πΈ NAME πΈ
amdgpu_ttm_tt_create β literally just: create a ttm_tt object for a given BO. that's the whole job. no cap π
π¦ SYNOPSIS π¦
struct ttm_tt * amdgpu_ttm_tt_create (struct ttm_buffer_object *bo ,
uint32_t page_flags );
like yes it returns a struct ttm_tt *, and yes it takes those two args. main character signature fr π«Ά
π ARGUMENTS π
boβ the buffer object you're wrapping a GTTttm_ttobject around. she's the one getting dressed up πpage_flagsβ the page flags that get added to thettm_ttobject. little extra sparkle, except it's flags β¨
π DESCRIPTION π
so the description is short and iconic: this gets called by ttm_tt_create. that's it. that's the lore. π
π SEE ALSO π
okay here's the group chat β the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, and these are her mutuals:
amdgpu_evict_flags(9)amdgpu_ttm_map_buffer(9)amdgpu_ttm_copy_mem_to_mem(9)amdgpu_res_cpu_visible(9)amdgpu_ttm_domain_start(9)amdgpu_ttm_mmio_remap_alloc_sgt(9)amdgpu_ttm_tt_get_userptr(9)amdgpu_ttm_tt_set_userptr(9)amdgpu_ttm_tt_pde_flags(9)amdgpu_ttm_tt_pte_flags(9)amdgpu_ttm_access_memory(9)amdgpu_ttm_training_reserve_vram_fini(9)amdgpu_ttm_alloc_mmio_remap_bo(9)amdgpu_ttm_free_mmio_remap_bo(9)amdgpu_ttm_enable_buffer_funcs(9)amdgpu_ttm_disable_buffer_funcs(9)amdgpu_ttm_clear_buffer(9)amdgpu_ttm_evict_resources(9)
look at that roster, she's literally so connected ππ₯
side note, bestie: the page also points you at the source dir ./drivers/gpu/drm/amd/amdgpu if you wanna go read the real thing. go be nosy, it's encouraged π
and that's the whole vibe check! sign-off time π this cutie came out of ./drivers/gpu/drm/amd/amdgpu and is dated October 2026 β mark your calendars, she's a future icon ππ¦β¨
π¦ 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