amdgpu_bo_create(9)
π amdgpu_bo_create(9)
okay so this is a page from the Kernel API Manual (amdgpu_bo_create(9)), and bestie, it's literally the birth page for buffer objects. short page, big job. let's get into it π«Ά
β¨ NAME β¨
amdgpu_bo_create β create an &amdgpu_bo buffer object
like, you're making a whole BO. that's the vibe. no cap. π
πΈ SYNOPSIS πΈ
int amdgpu_bo_create (struct amdgpu_device *adev , struct
amdgpu_bo_param *bp , struct amdgpu_bo **bo_ptr );
so it hands back an int, takes three things, and honestly it's giving "trust the process" energy β¨
π ARGUMENTS π
adevβ the amdgpu device object. the main character, fr. everything happens inside this thing πbpβ the parameters to be used for the buffer object. yes, bp as in "buffer object params". icon behavior π¦bo_ptrβ a pointer to the buffer object pointer. double pointer moment. lowkey the way this works is it fills in your pointer, so come correct π
π§ DESCRIPTION π§
Creates an amdgpu_bo buffer object.
that's it. that's the whole description. short and slay. not me expecting a whole essay and getting one sentence π but honestly? confident. concise. main character energy β
π RETURN π
0 for success or a negative error code on failure.
so like β check it. always check it. a negative number means something went sideways π
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
and the whole extended friend group omg there are SO many of them, but every single one is iconic in its own way:
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_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)
periodt. that's the whole squad π
ok and one last thing β this page lives in./drivers/gpu/drm/amd/amdgpu, it's October 2026 coded, and it's filed underamdgpu_bo_create(9). go read the source, bestie, it's right there. 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