amdgpu_vram_mgr_vis_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vram_mgr_vis_size(9) β€” like, the Kernel API Manual one, bestie πŸŽ€

okay so this is a page straight outta the Kernel API Manual and it's all about one little function that does one little math thing and honestly? it ate. let's get into it ✨


✨ NAME ✨

amdgpu_vram_mgr_vis_size β€” Calculate visible block size πŸ¦‹


✨ SYNOPSIS ✨

u64 amdgpu_vram_mgr_vis_size (struct amdgpu_device *adev , struct
gpu_buddy_block *block );

not me copying this exactly because it's giving verbatim and we do NOT edit the synopsis, periodt πŸ’…


✨ ARGUMENTS ✨

  • adev β€” an amdgpu_device pointer. yeah. that one. the device bestie 🫢
  • block β€” a DRM BUDDY block structure. it's the block. the buddy. the DRM one 🌸

✨ DESCRIPTION ✨

so what does it actually do? it calculates how many bytes of the DRM BUDDY block are inside visible VRAM πŸ’–

that's it. that's the whole thing. it's a little byte-counter for the part of the block that's visible. lowkey iconic, highkey specific 😭


✨ SEE ALSO ✨

bestie there are SO many siblings, the whole family showed up πŸ‘‘

fr fr go read them, they're the rest of the vram mgr friend group πŸ’œ


okay that's the page!! and for the cute little sign-off: this one lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026 (yes, the future, she's ahead of her time 🌈), and it's the amdgpu_vram_mgr_vis_size(9) page of the Kernel API Manual. mwah, bye bestie πŸ’‹πŸŽ€

πŸ“¦ where this page comes from