amdgpu_gart_bind(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 says void, but DESCRIPTION still says it returns 0 / -EINVAL β€” both of those are in the original, so both stay. iykyk πŸ’€

🌈 SEE ALSO 🌈


xoxo, your source/version bestie is ./drivers/gpu/drm/amd/amdgpu, stamped October 2026 πŸ’…πŸ«Ά

πŸ“¦ where this page comes from