amdgpu_vram_mgr_free_sgt(9)
β¨ amdgpu_vram_mgr_free_sgt(9) β¨
okay bestie, welcome to the <amdgpu_vram_mgr_free_sgt>(9) page from the Kernel API Manual β it's short, it's sweet, and it's literally here to free an sg table. π
π NAME π
amdgpu_vram_mgr_free_sgtβallocate and fill a sg table
β¨ SYNOPSIS β¨
void amdgpu_vram_mgr_free_sgt (struct device *dev , enum
dma_data_direction dir , struct sg_table *sgt );
It returns void, so there's no return value to catch β it's giving βdo the cleanup and dipβ energy. π«Ά
π ARGUMENTS π
devβ device pointer πΈdirβ data direction of resource to unmapsgtβ sg table to free
π¦ DESCRIPTION π¦
Frees a previously allocated sg table. That's the whole flex, no cap. It's the cleanup moment, and the page keeps it cute and to the point. β¨
π SEE ALSO π
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_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)amdgpu_vram_mgr_fini(9)
mwah π β this lil page came from the Kernel API Manual, source/version ./drivers/gpu/drm/amd/amdgpu, dated October 2026. 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