amdgpu_cs_wait_all_fences(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– amdgpu_cs_wait_all_fences(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for amdgpu_cs_wait_all_fences, and no cap, the whole gig is right there in the name: it waits on all the fences to signal. all of them. not some. not one. all. periodt πŸ’…


🌸 NAME 🌸

amdgpu_cs_wait_all_fences β€” wait on all fences to signal πŸŽ€


✨ SYNOPSIS ✨

int amdgpu_cs_wait_all_fences (struct amdgpu_device *adev , struct
drm_file *filp , union drm_amdgpu_wait_fences *wait , struct
drm_amdgpu_fence *fences );

like, that's the whole signature, copy it exactly, don't @ me 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

four args, all iconic, all necessary:

  • adev β€” the amdgpu device πŸ’œ like, the actual GPU situation we're talking about.
  • filp β€” file private πŸ‘‘ your very own file-private pointer, living its main character life.
  • wait β€” wait parameters 🌈 the knobs and dials for this whole waiting operation.
  • fences β€” array of drm_amdgpu_fence ⭐ an array, bestie. plural. a whole squad of fences, and every single one of them has to signal.

🧚 SEE ALSO 🧚

the lore continues, go read these next, iykyk:


πŸ’€ real talk: this page is what it is β€” wait on all fences to signal. if you wanted "any", that's a different function, go check the SEE ALSO list, she's right there.

and that's the vibe check, bestie πŸ“ this little gem lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β€” mwah πŸ’‹ slay, go wait on those fences βœ¨πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from