amdgpu_ttm_tt_pte_flags(9)
π amdgpu_ttm_tt_pte_flags(9) π
okay bestie, welcome to the Kernel API Manual page for amdgpu_ttm_tt_pte_flags β it's giving compute the PTE flags for a ttm_tt object, and we're gonna get into it. π«Ά
πΈ NAME πΈ
amdgpu_ttm_tt_pte_flags β Compute PTE flags for ttm_tt object.
β¨ SYNOPSIS β¨
the signature, verbatim, no cap:
uint64_t amdgpu_ttm_tt_pte_flags (struct amdgpu_device *adev , struct
ttm_tt *ttm , struct ttm_resource *mem );
π ARGUMENTS π
adevβ amdgpu_device pointer. literally the pointer. πttmβ Thettm_ttobject to compute the flags for. bestie, this is the one getting the flag treatment β¨memβ The memory registry backing thisttm_ttobject.
π¦ DESCRIPTION π¦
Figure out the flags to use for a VM PTE (Page Table Entry).
That's the whole assignment, no cap: figure out the flags for a VM PTE. π
π₯ SEE ALSO π₯
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 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_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. this one is sourced from ./drivers/gpu/drm/amd/amdgpu and dated October 2026 β slay, bye π
β¨
π¦ 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