amdgpu_bo_sync_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_bo_sync_wait(9) ✨

okay so bestie, welcome to the kernel API manual πŸ’… β€” this one's a little function from the Kernel API Manual herself, and honestly she's giving "tiny wrapper, big responsibilities" energy. Let's get into it 🫢


🌸 NAME 🌸

amdgpu_bo_sync_wait β€” literally just a wrapper for amdgpu_bo_sync_wait_resv. that's it, that's the whole name section, she's a delegation girlie πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

int amdgpu_bo_sync_wait (struct amdgpu_bo *bo , void *owner , bool intr );

three args, one int coming back at you. no cap, that's the whole signature ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bo β€” the buffer object you're waiting for. she's the main character here πŸ‘‘
  • owner β€” the fence owner. iykyk πŸ”₯
  • intr β€” whether the wait is interruptible. like, can a signal come interrupt your little waiting session? this bool says yes or no πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

wrapper to wait for fences in a BO. that's the vibe β€” it's a wrapper, it waits, the fences are in the BO, periodt ✨


⭐ RETURN ⭐

0 on success, errno otherwise. slay when it's zero, check your errno when it's not 😭


🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β€” go read her, she's iconic πŸ“–

and the whole friend group, no one left out fr fr:

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_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_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, the whole squad πŸ§šπŸ’œ


ngl bestie, that's the entire page β€” every flag, every friend, every return value accounted for. no details skipped, we don't do that here πŸ’…

and that's a wrap, bestie πŸŽ€ this cutie lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and she goes by amdgpu_bo_sync_wait(9). bye pookie, go wait on some fences πŸ’–βœ¨

πŸ“¦ where this page comes from