radeon_fence_wait_empty(9)
π radeon_fence_wait_empty(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from the radeon DRM crew, and honestly? it's giving "waiting room" energy. it just sits there until all the fences on a ring have signalled. no cap.
π NAME π
radeon_fence_wait_empty β wait for all fences to signal π
β¨ SYNOPSIS β¨
int radeon_fence_wait_empty (struct radeon_device *rdev , int ring );
like, that's the whole signature. short and iconic πΈ
π¦ ARGUMENTS π¦
rdevβ the radeon device pointer. your main character device, basically πringβ the ring index that the fence is associated with. which ring are we talking about, bestie? this one. β
π DESCRIPTION π
So this function waits for all the fences on the requested ring to signal β and yes, that's all asics, no exceptions, everybody's invited π«Ά
Returns 0 if the fences have passed. Returns an error for all other cases. that's it, that's the whole vibe check π
β οΈ ok important one: the caller must hold ring lock. fr fr. do not skip this. this is not the moment to be casual, bestie π
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/radeon/radeon_fence.c β go say hi π§
and here's the whole fence friend group, no one gets left out π:
radeon_fence_write(9)radeon_fence_read(9)radeon_fence_schedule_check(9)radeon_fence_emit(9)radeon_fence_activity(9)radeon_fence_check_lockup(9)radeon_fence_process(9)radeon_fence_seq_signaled(9)radeon_fence_enable_signaling(9)radeon_fence_signaled(9)radeon_fence_any_seq_signaled(9)radeon_fence_wait_seq_timeout(9)radeon_fence_wait_timeout(9)radeon_fence_wait(9)radeon_fence_wait_next(9)radeon_fence_ref(9)radeon_fence_unref(9)radeon_fence_count_emitted(9)radeon_fence_need_sync(9)radeon_fence_note_sync(9)radeon_fence_driver_start_ring(9)radeon_fence_driver_init_ring(9)radeon_fence_driver_init(9)radeon_fence_driver_fini(9)radeon_fence_driver_force_completion(9)
25 links, and yeah I counted. obsessed π
mwah π this page came from ./drivers/gpu/drm/radeon, dated October 2026, and it's part of the Kernel API Manual β that's it, that's the sign-off, go hold that ring lock bestie πβ¨
π¦ 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