amdgpu_vram...eserve_range(9)
π amdgpu_vram_mgr_reserve_range(9) π
okay so real talk, this is a page straight out of the Kernel API Manual (the amdgpu_vram...eserve_range(9) one, yes the name is doing a little truncation moment, don't worry about it) and it's lowkey iconic for how short it is. let's get into it bestie π«Ά
β¨ NAME β¨
amdgpu_vram_mgr_reserve_range β literally just reserving a range from VRAM. that's the whole vibe. π
πΈ SYNOPSIS πΈ
int amdgpu_vram_mgr_reserve_range (struct amdgpu_vram_mgr *mgr ,
uint64_t start , uint64_t size );
like, she's an int returning function, she takes three things, she's booked and busy. β¨
π ARGUMENTS π
mgrβ a pointer toamdgpu_vram_mgr. the manager. the main character of the manager world. πstartβ the start address of the range, in VRAM. where the reserving begins, basically. π¦sizeβ the size of the range. how much we're grabbing. the amount. π
π DESCRIPTION π
Reserve memory from the start address with the specified size in VRAM. that's it, that's the whole plot. no plot twists, no cap. β¨
fr fr this is one of those manpages where the DESCRIPTION is shorter than the ARGUMENTS list, and honestly? we respect the efficiency. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c β that's the whole source file, go read it if you're feeling brave bestie π
and then the friend group, in the order they were introduced:
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_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)amdgpu_vram_mgr_fini(9)
like, amdgpu_vram_mgr_init and amdgpu_vram_mgr_fini bookending the whole thing? that's a full character arc, we love a journey. π§π
okay that's the whole page bestie, and before you go β this one's from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, filed under that same amdgpu_vram...eserve_range(9) title. mwah, go reserve some VRAM, slay π
β
π¦ 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