amdgpu_vram_mgr_fini(9)
π amdgpu_vram_mgr_fini(9) π
okay so this is a page from the Kernel API Manual bestie, and it's all about amdgpu_vram_mgr_fini β the little function that says bye-bye to your VRAM manager π«Ά
β¨ NAME β¨
amdgpu_vram_mgr_fini β free and destroy the VRAM manager, no cap π
πΈ SYNOPSIS πΈ
void amdgpu_vram_mgr_fini (struct amdgpu_device *adev );
literally that's it, she's a void function, she returns nothing and she's iconic for it β¨
π ARGUMENTS π
adevβ anamdgpu_devicepointer. that's the one and only thing you hand her π«Ά
π DESCRIPTION π
so what she does is destroy and free the VRAM manager. that's the whole vibe π¦
but bestie, listen β she returns -EBUSY if ranges are still allocated inside it π like she's not gonna just nuke it if you've still got stuff living in there. the ranges gotta be gone first, fr fr.
β οΈ heads up: the synopsis says she'svoid, yet the description says she returns-EBUSYwhen ranges are still allocated inside her. that's exactly what the page says, so i'm not about to edit the queen's own words π
π₯ SEE ALSO π₯
the whole fam, in the order the page gives them π
- kernel file β
./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.cπ mem_info_vram_total(9)mem_info_vis_vram_total(9)mem_info_vram_used(9)mem_info_vis_vram_used(9)mem_info_vram_vendor(9)amdgpu_vram_mgr_vis_size(9)amdgpu_vram_mgr_bo_visible_size(9)amdgpu_vram_mgr_reserve_range(9)amdgpu_vram_mgr_query_page_status(9)amdgpu_vram_mgr_new(9)amdgpu_vram_mgr_del(9)amdgpu_vram_mgr_alloc_sgt(9)amdgpu_vram_mgr_free_sgt(9)amdgpu_vram_mgr_vis_usage(9)amdgpu_vram_mgr_clear_reset_blocks(9)amdgpu_vram_mgr_intersects(9)amdgpu_vram_mgr_compatible(9)amdgpu_vram_mgr_debug(9)amdgpu_vram_mgr_init(9)π
and that's the page!! mwah π this one came from the source path ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β so go forth, call amdgpu_vram_mgr_fini, and clean up your VRAM ranges first or she WILL hit you with that -EBUSY ππ periodt.
π¦ 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