vcn_v1_0_dec...g_emit_fence(9)
π
vcn_v1_0_dec_ring_emit_fence β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual entry for vcn_v1_0_dec_ring_emit_fence(9) β yes the header really does squish it down to vcn_v1_0_dec...g_emit_fence(9) and no, we don't know why either, it's just giving abbreviation energy π she's a real function and she's here to drop a fence and a trap into a ring, iykyk.
πΈ NAME πΈ
vcn_v1_0_dec_ring_emit_fence β literally just emit an fence & trap command π«Ά (yes, "an fence", the original said it like that, we're keeping it, iconic).
β¨ SYNOPSIS β¨
void vcn_v1_0_dec_ring_emit_fence (struct amdgpu_ring *ring , u64 addr ,
u64 seq , unsigned flags );
no return value, no drama, just vibes and side effects π
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer, aka the ring you're about to write into. main character energy right here πaddrβ the address. that's it, that's the whole description, and honestly? respect for the brevity πseqβ the sequence number, the little number that makes the fence make sense fr frflagsβ the fence related flags π (fence-related, specifically, so pls don't go putting random unrelated flags in there)
π₯ DESCRIPTION π₯
Write a fence and a trap command to the ring. That's the whole thing, bestie β no cap, that is genuinely the entire documented behaviour. You hand it a ring, an address, a sequence number, and some fence flags, and it goes and writes a fence command and a trap command into said ring. Slay π
lowkey the shortest description ever but we're not adding lore that isn't there β the manpage said it, so it's canon π§
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c β go peek at her source if you want the full tea π
vcn_v1_0_early_init(9)vcn_v1_0_sw_init(9)vcn_v1_0_sw_fini(9)vcn_v1_0_hw_init(9)vcn_v1_0_hw_fini(9)vcn_v1_0_suspend(9)vcn_v1_0_resume(9)vcn_v1_0_mc_resume_spg_mode(9)vcn_v1_0_disable_clock_gating(9)vcn_v1_0_enable_clock_gating(9)vcn_v1_0_start_spg_mode(9)vcn_v1_0_stop_spg_mode(9)vcn_v1_0_dec_ring_get_rptr(9)vcn_v1_0_dec_ring_get_wptr(9)vcn_v1_0_dec_ring_set_wptr(9)vcn_v1_0_dec_ring_insert_start(9)vcn_v1_0_dec_ring_insert_end(9)vcn_v1_0_dec_ring_emit_ib(9)vcn_v1_0_enc_ring_get_rptr(9)vcn_v1_0_enc_ring_emit_fence(9)vcn_v1_0_enc_ring_emit_ib(9)
and that's the whole page, bestie π« straight from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, page vcn_v1_0_dec...g_emit_fence(9) β go forth and emit those fences, you absolute icon ππ
π«Ά
π¦ 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