amdgpu_gart_bind(9)
amdgpu_gart_bind(9) π
okay bestie, this one is from the Kernel API Manual, and itβs literally about binding pages into the gart page table. group-chat recap time β¨
πΈ NAME πΈ
amdgpu_gart_bind β bind pages into the gart page table π
β¨ SYNOPSIS β¨
void amdgpu_gart_bind (struct amdgpu_device *adev , uint64_t offset ,
int pages , dma_addr_t *dma_addr , uint64_t flags );
π¦ ARGUMENTS π¦
adevβ amdgpu_device pointer πoffsetβ offset into the GPU's gart aperture πpagesβ number of pages to bind π§dma_addrβ DMA addresses of pages π«flagsβ page table entry flags π©
π DESCRIPTION π
Binds the requested pages to the gart page table (all asics). Returns 0 for success, -EINVAL for failure. no cap, thatβs the whole vibe check π
tiny heads-up, bestie: the synopsis saysvoid, but DESCRIPTION still says it returns0/-EINVALβ both of those are in the original, so both stay. iykyk π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_gart.cπ amdgpu_gart_dummy_page_init(9)amdgpu_gart_dummy_page_fini(9)amdgpu_gart_table_ram_alloc(9)amdgpu_gart_table_ram_free(9)amdgpu_gart_table_vram_alloc(9)amdgpu_gart_table_vram_free(9)amdgpu_gart_unbind(9)amdgpu_gart_map(9)amdgpu_gart_map_vram_range(9)amdgpu_gart_map_gfx9_mqd(9)amdgpu_gart_invalidate_tlb(9)amdgpu_gart_init(9)
xoxo, your source/version bestie is ./drivers/gpu/drm/amd/amdgpu, stamped October 2026 π
π«Ά
π¦ 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