amdgpu_vram_mgr_init(9)
π amdgpu_vram_mgr_init(9) β the kernel API manual, bestie edition π
okay so you're in the Kernel API Manual for amdgpu_vram_mgr_init(9) and honestly? this one's short and sweet, which is a whole mood. let's get into it π
β¨ NAME β¨
amdgpu_vram_mgr_init β literally just: init VRAM manager and DRM MM. that's the whole vibe check. π¦
πΈ SYNOPSIS πΈ
int amdgpu_vram_mgr_init (struct amdgpu_device *adev );
no cap, that's it. one function, one argument, returns an int. clean. π
π«Ά ARGUMENTS π«Ά
adevβ anamdgpu_devicepointer. that's the whole description, she's lowkey mysterious but okay, we respect it. β¨
π₯ DESCRIPTION π₯
Allocate and initialize the VRAM manager. that's it. that's the function. it does the allocating, it does the initializing, and it's giving main character energy for about four words. periodt. π
if you were expecting lore, bestie, there is no lore. it allocates and initializes the VRAM manager. slay. π
π SEE ALSO π
first up, the source herself:
- the kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.cβ go read her, she contains multitudes π
and the whole friend group, in order, no gatekeeping, iykyk:
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_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_fini(9)
ngl bestie this page is short enough to read in the time it takes your coffee to finish brewing, so no excuses π
and that's the page!! π§ she comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and honestly we stan a timestamped queen. k bye, go init some VRAM π
πΈπ
π¦ 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