amdgpu_object(9)
π amdgpu_object π
okay so bestie, welcome to the amdgpu_object(9) page from the Kernel API Manual β this is where the kernel spills the tea about buffer objects π
This whole thing defines the interfaces for operating on an amdgpu_bo buffer object, which is the literal representation of memory used by the driver β think VRAM, system memory, etc. β¨
So the way the pipeline works: the driver hands DRM/GEM APIs to userspace, and then those DRM/GEM APIs use these interfaces to create/destroy/set buffer objects, which then get managed by the kernel TTM memory manager π«Ά
And it's not just a userspace thing β these interfaces are ALSO used internally by kernel clients, including gfx, uvd, etc. for kernel managed allocations used by the GPU. fr fr, everybody's using them π
β¨ SEE ALSO β¨
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β go read it, it's giving main character energy π
The whole squad of related functions, no cap π¦
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_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 this page lives at ./drivers/gpu/drm/amd/amdgpu in the Kernel API Manual, dated October 2026 β that's the whole footer, and yes she ate ππΈ
periodt, that's the page πβ¨
π¦ 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