amdgpu_vram_mgr_vis_size(9)
π 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β anamdgpu_devicepointer. 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 π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.cmem_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_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_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)
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
- 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