amdgpu_vram_mgr_vis_usage(9)
β¨ amdgpu_vram_mgr_vis_usage π
okay so bestie, welcome to the kernel API manual for amdgpu_vram_mgr_vis_usage β it's a little function from the amdgpu VRAM manager and honestly it's giving "quiet overachiever" energy π
πΈ NAME πΈ
amdgpu_vram_mgr_vis_usage β literally just tells you how many bytes are used in the visible part π
π¦ SYNOPSIS π¦
uint64_t amdgpu_vram_mgr_vis_usage (struct amdgpu_vram_mgr *mgr );
that's it, that's the whole signature, no cap β¨
π ARGUMENTS π
mgrβ anamdgpu_vram_mgrpointer, iykyk π«Ά
π DESCRIPTION π
So what does it actually do? It returns how many bytes are used in the visible part of VRAM π₯ that's the whole vibe bestie, it's a return-value girlie, no side effects, no drama π
π SEE ALSO π
The kernel file lives right here, go be nosy:
./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
and here's the whole friend group, all of them, besties fr fr π:
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_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)
ok that's the whole page bestie, go read your VRAM stats and slay π β¨
and that's a wrap π this cutie came out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's titled amdgpu_vram_mgr_vis_usage(9) β main character energy from start to finish ππ
π¦ 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