amdgpu_ttm_tt_pde_flags(9)
π amdgpu_ttm_tt_pde_flags(9) β from the Kernel API Manual, bestie
Okay so this is a page straight out of the Kernel API Manual (amdgpu_ttm_tt_pde_flags(9)), and it is exactly what it sounds like: a tiny little helper that works out your PDE flags. Let's get into it β¨
πΈ NAME πΈ
amdgpu_ttm_tt_pde_flags β compute PDE flags for a ttm_tt object π
π¦ SYNOPSIS π¦
uint64_t amdgpu_ttm_tt_pde_flags (struct ttm_tt *ttm , struct
ttm_resource *mem );
Look at her. Returns a uint64_t, takes two args, minding her own business. Iconic behavior honestly π
π ARGUMENTS π
ttmβ thettm_ttobject you're computing the flags for π«Ά she's the main character herememβ the memory registry backing thisttm_ttobject π aka the stuff behind the scenes making it all work
π§ DESCRIPTION π§
So the whole vibe of this function is: figure out the flags to use for a VM PDE (Page Directory Entry). That's it. That's the gig. No cap, that's literally what it does π
β SEE ALSO β
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c β go read it, iykyk π
And the whole friend group π«Ά:
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_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)
And that's the whole page, bestie π no bugs listed, no warnings, no exit statuses β just a sweet little flag calculator living her best life in./drivers/gpu/drm/amd/amdgpu, dated October 2026, asamdgpu_ttm_tt_pde_flags(9). Slay πβ¨
π¦ 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