radeon_fence_wait_timeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to radeon_fence_wait_timeout(9) from the Kernel API Manual β€” the whole page is about waiting for a fence to signal, with a timeout, and we’re gonna make it make sense. πŸ’– No cap, it’s shorter than it looks.

πŸ’– NAME πŸ’–

radeon_fence_wait_timeout β€” wait for a fence to signal with timeout. πŸŽ€

✨ SYNOPSIS ✨

long radeon_fence_wait_timeout (struct radeon_fence *fence , bool intr ,
       long timeout );

πŸŽ€ ARGUMENTS πŸŽ€

  • fence β€” radeon fence object. literally the fence object we’re waiting on.
  • intr β€” use interruptible sleep. this is the little switch that decides how the sleep behaves.
  • timeout β€” maximum time to wait, or MAX_SCHEDULE_TIMEOUT for infinite wait. also, the return tea lives right here in the original page: it returns remaining time if the sequence number has passed, 0 when the wait timeout, or an error for all other cases.

πŸ’… DESCRIPTION πŸ’…

Wait for the requested fence to signal (all asics). πŸ¦‹ intr selects whether to use interruptable (true) or non-interruptable (false) sleep when waiting for the fence. so yes: true means interruptable sleep, false means non-interruptable sleep β€” that’s the whole selector vibe.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/radeon/radeon_fence.c.


mwah πŸ’‹ β€” this page’s source/version is ./drivers/gpu/drm/radeon, dated October 2026, and the manual page itself is radeon_fence_wait_timeout(9). go wait on that fence, bestie. 🫢

πŸ“¦ where this page comes from