amdgpu_bo_kunmap(9)
π amdgpu_bo_kunmap(9) β a Kernel API Manual moment
okay so bestie, gather round, because today we're reading the Kernel API Manual page for amdgpu_bo_kunmap, and honestly? it's a short one but it matters π
β¨ NAME β¨
amdgpu_bo_kunmap β unmap an &amdgpu_bo buffer object π¦
like, the un-mapping one. the "we're so done here" one. the reverse of the kmap slay.
πΈ SYNOPSIS πΈ
void amdgpu_bo_kunmap (struct amdgpu_bo *bo );
that's it. that's the whole signature. one function, one pointer, zero drama (allegedly) π
π«Ά ARGUMENTS π«Ά
boβ theamdgpu_bobuffer object that's getting unmapped. this is the one. the buffer object in question. it gets unmapped, and that's the whole gig β¨
π₯ DESCRIPTION π₯
so what does it do? it unmaps a kernel map β the exact one that was set up earlier by amdgpu_bo_kmap. that's the whole story, no cap. kmap puts the map there, kunmap takes the map away. it's giving cleanup era. it's giving "we brought a snack to the party and now we're taking our tupperware home" π
no extra behaviour hinted at, no secret bonus features, just the unmap. periodt π
π SEE ALSO π
the source file for all this lives at Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β go say hi to it, it's iconic π
and here's the whole friend group, the full roster, every single one, no skips π:
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_ref(9)amdgpu_bo_unref(9)amdgpu_bo_pin(9)amdgpu_bo_unpin(9)amdgpu_bo_init(9)amdgpu_bo_fini(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)
bestie that's a lot of friends and every single one of them is invited. do not skip a single (9), i'm watching π
so yeah. that's the page. go forth, unmap responsibly, and remember: amdgpu_bo_kunmap is out here living its best life in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and this whole little manual moment was brought to you by amdgpu_bo_kunmap(9). 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