amdgpu_bo_is_amdgpu_bo(9)
β¨ NAME β¨
Hey bestie, welcome to amdgpu_bo_is_amdgpu_bo(9) from the Kernel API Manual! This one is literally just: amdgpu_bo_is_amdgpu_bo β check if the buffer object is an &amdgpu_bo. That's the whole assignment, and she ate. π
πΈ SYNOPSIS πΈ
bool amdgpu_bo_is_amdgpu_bo (struct ttm_buffer_object *bo );
π ARGUMENTS π
boβ the buffer object to be checked. Like, hand her theboand she'll do the vibe check. π«Ά
π¦ DESCRIPTION π¦
Okay so here's the tea: it uses the destroy function associated with the object to determine if this is an amdgpu_bo. No cap, that's the method. β¨
β RETURN β
true if the object belongs to amdgpu_bo, and false if not. Simple, iconic, done. π
π₯ SEE ALSO π₯
The kernel file is ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β that's where she lives. π
Also, say hi to the whole crew:
amdgpu_object(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)
mwah π this cutie comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the page is still amdgpu_bo_is_amdgpu_bo(9). Bye bestie, go check those buffer objects! π
π¦ 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