radeon_fence_emit(9)
π radeon_fence_emit(9) π
okay so bestie, welcome to the kernel API manual for radeon_fence_emit(9) β yes it's a section 9 page, yes it's a function, no you don't have to be scared of it. it's literally just "put a fence on a ring" energy and honestly? iconic. π
β¨ NAME β¨
radeon_fence_emit β emit a fence on the requested ring π¦
like that's it. that's the whole job. it puts a fence down on whichever ring you point at. slay.
πΈ SYNOPSIS πΈ
int radeon_fence_emit (struct radeon_device *rdev , struct radeon_fence
**fence , int ring );
copy it exactly like that, no cap, don't @ me about the spacing. π
π ARGUMENTS π
rdevβ aradeon_devicepointer. it's the radeon device, your main character of the operation πfenceβ a radeon fence object. this is the fence we're talking about, the whole point of the function, the moment π«ringβ the ring index that the fence is associated with. which ring? that ring. you tell it. π
π₯ DESCRIPTION π₯
so, what does it do? it emits a fence command on the requested ring β and yeah, that goes for all asics, so no weird per-generation exceptions to worry about, periodt. π«Ά
return value check, because we love a clear contract:
- returns
0on success β you ate, no notes β¨ - returns
-ENOMEMon failure β the memory said "not today bestie" π
no cap: that's literally the entire documented behaviour. anything else you think it does is a rumour, and we don't do rumours here π
π¦ SEE ALSO π¦
the kernel file lives at:
./drivers/gpu/drm/radeon/radeon_fence.c
and here's the whole friend group, the full fence-squad, every single one, not skipping a single bestie π§π
radeon_fence_write(9)radeon_fence_read(9)radeon_fence_schedule_check(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(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)
twenty-five of them. twenty-five!! and you thought you had a big group chat π
and that's the tea β β go forth and emit responsibly πβ
mwah, that's the page! π the source for all this lives in ./drivers/gpu/drm/radeon, and it's dated October 2026 β so yeah, future vibes, we stay ahead of the timeline π°οΈβ¨ byeee π«Άπ·
π¦ 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