mem_info_vis_vram_used(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ mem_info_vis_vram_used β€” a page from the Kernel API Manual πŸ’…

okay bestie, so this one is genuinely short and sweet, which honestly? slay. no cap. πŸŽ€

✨ DESCRIPTION ✨

so the amdgpu driver ships a sysfs API for reporting the current total of used visible VRAM β€” literally the whole vibe of this page 🫢

the file mem_info_vis_vram_used is the one that does this, and it returns the total amount of currently used visible VRAM in bytes, periodt. that's it. that's the whole thing. iconic behavior honestly πŸ’–

it's giving "just read the file and go" energy, and we love a low-effort main character 🌸


🌈 SEE ALSO 🌈

the kernel file lives right here, sweetie 🧚

./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c

and here's the whole friend group, all of them, in order, no one left behind πŸ’œ

go read them. all of them. iykyk πŸ“šβœ¨

and that's the whole page, bestie β€” brought to you by the good people at ./drivers/gpu/drm/amd/amdgpu, stamped October 2026, and answering to the name mem_info_vis_vram_used(9). bye diva πŸ’…πŸ’–

πŸ“¦ where this page comes from