amdgpu_sync_peek_fence(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

amdgpu_sync_peek_fence β€” get the next fence that hasn’t signaled yet

okay bestie, welcome to the amdgpu_sync_peek_fence(9) page in the Kernel API Manual. this one is short and sweet: we’re peeking into a sync object for the next fence that isn’t signaled yet. no removing, no drama. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the exact signature, copied with love:

struct dma_fence * amdgpu_sync_peek_fence (struct amdgpu_sync *sync ,
struct amdgpu_ring *ring );

it returns a struct dma_fence *, and it takes a struct amdgpu_sync *sync plus a struct amdgpu_ring *ring. πŸ’–

πŸŽ€ ARGUMENTS πŸŽ€

  • sync β€” the sync object. this is the thing we’re looking inside. πŸ‘€
  • ring β€” optional ring to use for test. yes bestie, it’s optional, so don’t stress. 🫢

🌸 DESCRIPTION 🌸

it returns the next fence that’s not signaled yet, and the key part is that it does not remove it from the sync object. it’s a peek, not a grab-and-dip. πŸ’…

peek responsibly: the fence stays right where it is in the sync object. no yanking. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file:

  • ./drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c

the whole sync crew:


mwah πŸ’‹ this page comes from the ./drivers/gpu/drm/amd/amdgpu source corner, dated October 2026, and it’s filed as amdgpu_sync_peek_fence(9) in the Kernel API Manual. slay, go peek responsibly. 🌈
πŸ“¦ where this page comes from