radeon_sync_free(9)
π radeon_sync_free(9) β the Kernel API Manual glow-up
okay so bestie, you're in the section 9 part of the manual (that's the kernel API corner of the world, iykyk), and today's main character is radeon_sync_free. say hi π
β¨ NAME β¨
radeon_sync_free β free the sync object. that's it, that's the whole vibe. it frees the thing π«Ά
π¦ SYNOPSIS π¦
void radeon_sync_free (struct radeon_device *rdev , struct radeon_sync
*sync , struct radeon_fence *fence );
look at those three params holding hands. no return value, it's giving void and unbothered π
π ARGUMENTS π
rdevβ aradeon_devicepointer. your device handle, the whole reason we're here β¨syncβ the sync object to use. this is the one getting freed, so be normal about it πfenceβ the fence to use for the free. yeah, it's along for the ride π₯
πΈ DESCRIPTION πΈ
so what does it actually do? it frees the sync object by freeing all semaphores in it. that's the tea, that's the assignment, she ate and left no crumbs π
like β every semaphore inside that sync object? gone. freed. periodt. π
ngl, this is a free function, so pls be intentional about when you call it. the manpage is not out here inventing extra rules, it's just telling you: it frees the sync object by freeing all semaphores in it. that's the whole story, bestie π§
π SEE ALSO π
the kernel file herself lives right here β lowkey iconic path:
- Kernel file
./drivers/gpu/drm/radeon/radeon_sync.c
and the friend group (go read these too, fr fr):
they're literally the whole squad, okay? create, fence, resv, rings, free β a full set π
β the sign-off β
this lil page comes from ./drivers/gpu/drm/radeon, dated October 2026, and it's filed under radeon_sync_free(9). mwah, go free your sync objects responsibly πβ¨π¦
π¦ 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