radeon_fence_wait(9)
π radeon_fence_wait(9) π
okay so bestie, welcome to the Kernel API Manual page for radeon_fence_wait(9) β like, the actual kernel documentation, but make it make sense. this one is short and sweet, so let's go πΈ
β¨ NAME β¨
radeon_fence_wait β the function that just sits there and waits for a fence to signal π«Ά like literally it waits. that's the whole gig.
π SYNOPSIS π
int radeon_fence_wait (struct radeon_fence *fence , bool intr );
yes mamas, that's the whole signature β two args, one int coming back at you π
π ARGUMENTS π
fenceβ aradeonfence object. that's the thing you're waiting on, okay? the main character of this function fr fr.intrβ use interruptible sleep. it's abool, so it's a yes/no vibe check:truemeans interruptible,falsemeans non-interruptible. iykyk.
π₯ DESCRIPTION π₯
so what does it do? it waits for the requested fence to signal β and yes, on all asics babes, every single one, no exceptions π
the intr argument is the little switch that decides your sleeping situation while you wait for that fence:
trueβ interruptable sleep π΄β¨ (something can come interrupt your nap)falseβ non-interruptable sleep π (you are SLEEPING, do not perceive, do not disturb)
and the return value? here's the tea:
- it returns
0if the fence has passed β - it returns an error for all other cases π like every single other case, no in-between
ngl bestie that's the entire description β no hidden lore, no extra side quests. it waits, it returns 0 or an error, periodt. π
π¦ SEE ALSO π¦
the kernel file lives right here, go look:
./drivers/gpu/drm/radeon/radeon_fence.c
and the whole fence friend group π«Ά β these are all the siblings:
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_next(9)radeon_fence_wait_empty(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)
like, that's a whole family reunion and radeon_fence_wait is invited to all of it π
β¨
okay that's the page!! π this gem comes out of ./drivers/gpu/drm/radeon, dated October 2026, and it's filed under radeon_fence_wait(9) β go forth and wait on those fences, bestie, you're gonna slay πβ
π¦ 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