amdgpu_bo_p..._from_domain(9)
π amdgpu_bo_p..._from_domain(9) β bestie edition
okay so this page lives in the Kernel API Manual, section 9, and its full government name is amdgpu_bo_placement_from_domain (the header just truncates it to amdgpu_bo_p..._from_domain(9) because terminals are tiny and dramatic π). it's a kernel doc, it's giving very driver-dev coded, and we're gonna get through it together. grab a lil snack π
β¨ NAME β¨
amdgpu_bo_placement_from_domain β literally just "set buffer's placement", that's the whole vibe π
π¦ SYNOPSIS π¦
void amdgpu_bo_placement_from_domain (struct amdgpu_bo *abo , u32 domain );
it returns void, bestie. nothing comes back. no notes, no receipts, no return value. it just does the thing and leaves π
πΈ ARGUMENTS πΈ
aboβ theamdgpu_bobuffer object whose placement is to be set. this is the main character, the one getting rearranged π«Άdomainβ the requested domain. like, where do you want this buffer to live, queen? that's the ask π
π DESCRIPTION π
Sets buffer's placement according to requested domain and the buffer's flags. that's it, that's the function β¨
so real talk: it's not just the domain you pass in β the buffer's own flags get a vote too. two inputs, one placement decision. no cap π§
π SEE ALSO π
the kernel file where all this lives is ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β go read it, it's right there π
and now the friend group, in the exact order they were introduced, no gatekeeping:
amdgpu_object(9)amdgpu_bo_is_amdgpu_bo(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_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)
like, that's the whole gc right there. a whole squad of amdgpu_bo pages, and every single one said "see also" to the others. iykyk ππ
ngl the entire doc is like six lines long and that's iconic of it. short, sweet, does exactly one job. ate and left no crumbs π
and that's the tea π΅ β this page ships out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's amdgpu_bo_p..._from_domain(9) forever and always. 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