amdgpu_vram_mgr_intersects(9)
π amdgpu_vram_mgr_intersects(9) π
okay bestie so we're in the Kernel API Manual today, and the main character of this page is amdgpu_vram_mgr_intersects β yes that's a whole mouthful, iykyk, just sound it out π«Ά
β¨ NAME β¨
amdgpu_vram_mgr_intersects β test each drm buddy block for intersection π
β¨ SYNOPSIS β¨
bool amdgpu_vram_mgr_intersects (struct ttm_resource_manager *man ,
struct ttm_resource *res , const struct ttm_place *place , size_t size
);
β¨ ARGUMENTS β¨
manβ the TTM memory type manager, aka the boss of this whole memory-type situation πresβ the resource you're testing, the one under the microscope πplaceβ the place you're testing against, like the vibe check opponent πΈsizeβ size of the new allocation, the number that matters fr fr
β¨ DESCRIPTION β¨
So the whole point?? Test each drm buddy block for intersection β that's it, that's the job β and all of this is so the eviction decision can actually get made π
ngl it's a small function with a big responsibility. Every drm buddy block gets checked, no skipping, no shortcuts π
π SEE ALSO π
The kernel file lives right here, go say hi:
./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
and the whole friend group is in the building too, obsessed with them all:
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_compatible(9)amdgpu_vram_mgr_debug(9)amdgpu_vram_mgr_init(9)amdgpu_vram_mgr_fini(9)
k bye love u, this page came from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β amdgpu_vram_mgr_intersects(9) forever and always πβ¨π¦
π¦ 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