amdgpu_vram_mgr_intersects(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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