amdgpu_vram_...reset_blocks(9)
β¨ amdgpu_vram_mgr_clear_reset_blocks β a Kernel API Manual moment β¨
okay so bestie, buckle up, we're reading a kernel API page together and honestly? it's a whole vibe. the manual name is literally Kernel API Manual, which is giving "the library is open" energy. no cap. π
πΈ NAME πΈ
amdgpu_vram_mgr_clear_reset_blocks β reset clear blocks
that's it. that's the name. short, sweet, and she ate that. π
π¦ SYNOPSIS π¦
void amdgpu_vram_mgr_clear_reset_blocks (struct amdgpu_device *adev );
so we're calling this function, it returns void (nothing back, she just does the thing and leaves β¨), and it takes exactly one argument. periodt.
π ARGUMENTS π
adevβ amdgpu device pointer. that's your whole amdgpu device, like, the main character of the operation. hand her over and let the function cook. π
π DESCRIPTION π
okay so here's the deed: this function resets the cleared drm buddy blocks. literally that's the whole job. the cleared blocks get reset. she's not doing a whole extra side quest, she's just resetting the clears. iconic behavior honestly. π«Ά
ngl if you came here looking for lore, there isn't more lore. the description is three words of pure purpose and i respect it. π₯
π SEE ALSO π
the kernel file lives right here, no cap:
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
and here are all her friends, alphabetically-ish arranged like a group chat roster, every single one of them: π§
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_intersects(9)amdgpu_vram_mgr_compatible(9)amdgpu_vram_mgr_debug(9)amdgpu_vram_mgr_init(9)amdgpu_vram_mgr_fini(9)
bestie reminder:amdgpu_vram_mgr_init(9)first,amdgpu_vram_mgr_fini(9)later. the way the list just shows you the whole lifecycleβ¦ we love a full arc. π
and that's the page!! this one's from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and she's filed under amdgpu_vram_...reset_blocks(9). mwah, go reset some blocks, you've got this ππ·β
π¦ 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