amdgpu_vram_mgr_new(9)
πΈ amdgpu_vram_mgr_new πΈ
okay bestie, this is the amdgpu_vram_mgr_new(9) page from the Kernel API Manual β welcome to the VRAM side of the kernel, itβs giving allocator main character energy. π
β¨
π NAME π
amdgpu_vram_mgr_new β allocate new ranges. Thatβs the name, thatβs the assignment, and it ate. π
π₯ SYNOPSIS π₯
Hereβs the exact signature, no cap β keep it character-for-character:
int amdgpu_vram_mgr_new (struct ttm_resource_manager *man , struct
ttm_buffer_object *tbo , const struct ttm_place *place , struct
ttm_resource **res );
π ARGUMENTS π
manβ TTM memory type manager. yes bestie, the manager for this TTM memory type.tboβ TTM BO we need this range for. the buffer object thatβs the whole reason weβre here.placeβ placement flags and restrictions. the βwhere can this range go?β rules.resβ the resulting mem object. this is where the resulting thing ends up.
π DESCRIPTION π
Allocate VRAM for the given BO. Thatβs the whole plot: given BO, allocate VRAM, slay. β¨
π SEE ALSO π
Go touch some related kernel grass, bestie β every one of these is on the list:
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 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_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)
Catch you later, bestie β this pageβs source path is ./drivers/gpu/drm/amd/amdgpu, itβs dated October 2026, and you just read amdgpu_vram_mgr_new(9) from the Kernel API Manual. Mwah! ππ«Ά
π¦ 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