amdgpu_ttm_e...buffer_funcs(9)
π amdgpu_ttm_e...buffer_funcs(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the whole manual, and today's main character is amdgpu_ttm_enable_buffer_funcs(9) β¨ (the header's out here abbreviating it like amdgpu_ttm_e...buffer_funcs(9) because apparently even kernel docs have a character limit, slay π
).
πΈ NAME πΈ
amdgpu_ttm_enable_buffer_funcs β literally just: enable use of buffer functions π«Ά
π SYNOPSIS π
void amdgpu_ttm_enable_buffer_funcs (struct amdgpu_device *adev );
(no cap, that's the whole signature β copy it exactly, spacing and all, because the kernel does not do typos-forgiveness π)
π¦ ARGUMENTS π¦
adevβ anamdgpu_devicepointer. that's it. that's the whole vibe. it's giving "one job and she's doing it" π
β¨ DESCRIPTION β¨
so what does it do? it enables the use of buffer functions during suspend/resume π€π₯
big important caveat bestie, read this twice: this should only be called at bootup or when userspace isn't running. like, do not just call this whenever. the vibe check is strict here π
π SEE ALSO π
the kernel file it lives in:
./drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
and now the whole friend group π (yes, all of them, we don't skip anyone at this table):
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_create(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_disable_buffer_funcs(9)amdgpu_ttm_clear_buffer(9)amdgpu_ttm_evict_resources(9)
π§ sign-off π§
and that's the page, bestie!! π sourced straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, under the title amdgpu_ttm_e...buffer_funcs(9) β periodt π go call your buffer functions responsibly and only at bootup, 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