amdgpu_bo_fini(9)
π amdgpu_bo_fini β like, the Kernel API Manual page bestie π
okay so this is a page from the Kernel API Manual, and it's about amdgpu_bo_fini, which is the β¨cleanupβ¨ bestie of the pair. she's the one who closes the tab after the party. no cap.
πΈ NAME πΈ
amdgpu_bo_fini β tear down memory manager π
like literally, that's her whole job. she tears it down.
β SYNOPSIS β
void amdgpu_bo_fini (struct amdgpu_device *adev );
that's it. one function, one argument, returns void β she gives you nothing back and honestly? iconic. π
π¦ ARGUMENTS π¦
adevβ the amdgpu device object π₯οΈβ¨ this is the thing getting torn down. she needs to know which device object we're closing out, so hand her theadevand step back.
π DESCRIPTION π
so basically: amdgpu_bo_fini reverses amdgpu_bo_init to tear down the memory manager. π
that's the whole thing, fr fr. init sets it up, fini takes it back down. they're giving matched set energy. π«Ά
ngl, if you call this without having called amdgpu_bo_init first, that's on you bestie β this page only says it reverses it, that's the whole documented deal π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c π
and here's the whole squad β the entire amdgpu_bo friend group, in the exact order the manpage lists them, no cap:
amdgpu_object(9)amdgpu_bo_is_amdgpu_bo(9)amdgpu_bo_placement_from_domain(9)amdgpu_bo_create_reserved(9)amdgpu_bo_create_kernel(9)amdgpu_bo_create_isp_user(9)amdgpu_bo_create_kernel_at(9)amdgpu_bo_free_kernel(9)amdgpu_bo_free_isp_user(9)amdgpu_bo_create(9)amdgpu_bo_create_user(9)amdgpu_bo_create_vm(9)amdgpu_bo_kmap(9)amdgpu_bo_kptr(9)amdgpu_bo_kunmap(9)amdgpu_bo_ref(9)amdgpu_bo_unref(9)amdgpu_bo_pin(9)amdgpu_bo_unpin(9)amdgpu_bo_init(9)amdgpu_bo_set_tiling_flags(9)amdgpu_bo_get_tiling_flags(9)amdgpu_bo_set_metadata(9)amdgpu_bo_get_metadata(9)amdgpu_bo_move_notify(9)amdgpu_bo_release_notify(9)amdgpu_bo_fault_reserve_notify(9)amdgpu_bo_fence(9)amdgpu_bo_sync_wait_resv(9)amdgpu_bo_sync_wait(9)amdgpu_bo_gpu_offset(9)amdgpu_bo_fb_aper_addr(9)amdgpu_bo_gpu_offset_no_check(9)amdgpu_bo_mem_stats_placement(9)amdgpu_bo_get_preferred_domain(9)amdgpu_bo_print_info(9)
36 entries, i counted, you're welcome π«‘π
okay and the lil sign-off at the bottom of the original: this page lives under the path ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026. ποΈβ¨ so yeah β the amdgpu crew, October 2026, amdgpu_bo_fini(9). slay, go call amdgpu_bo_init's opposite, bye bestie π§π
π¦ 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