amdgpu_gart_table_vram_free(9)
π amdgpu_gart_table_vram_free(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little function with a big job: amdgpu_gart_table_vram_free. She's the cleanup queen of the GART page table's video memory, and honestly? We love a function that knows how to let go. π§β¨
πΈ NAME πΈ
amdgpu_gart_table_vram_free β free gart page table vram π
Like, she frees the VRAM that the GART page table was chillin' in. Short and sweet, no cap.
π¦ SYNOPSIS π¦
void amdgpu_gart_table_vram_free (struct amdgpu_device *adev );
No return value, she just does the thing and dips. π
π ARGUMENTS π
adevβ amdgpu_device pointer π«Ά β literally the pointer to youramdgpu_device, that's it, that's the whole argument. She needs to know which device we're tidying up after, iykyk.
β¨ DESCRIPTION β¨
So here's the tea β: this function frees the video memory used for the GART page table. That's it. Go off, queen. π
But why does that memory even live in VRAM in the first place? Because (pcie r4xx, r5xx+) β these asics require the gart table to be in video memory. So yeah, these specific ASICs are highkey demanding and need the GART table sitting pretty in video memory, and this function is the one who handles the "okay bestie, your VRAM is released back" moment. Periodt. π₯
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
And all her besties in the GART friend group π₯° β go say hi:
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)β yes, the alloc counterpart, they're a matched set fr framdgpu_gart_unbind(9)amdgpu_gart_map(9)amdgpu_gart_map_vram_range(9)amdgpu_gart_map_gfx9_mqd(9)amdgpu_gart_bind(9)amdgpu_gart_invalidate_tlb(9)amdgpu_gart_init(9)
πΈ π π π πΈ
and that's the whole page, bestie!! this icon lives at ./drivers/gpu/drm/amd/amdgpu, the manual's dated October 2026, and it's part of the Kernel API Manual β stay slay, stay hydrated, and always free your VRAM responsibly. πβ¨π¦
π¦ 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