vcn_v2_0_dec_ring_emit_ib(9)
π vcn_v2_0_dec_ring_emit_ib(9) π
okay so bestie, welcome to the vcn_v2_0_dec_ring_emit_ib page β yes that's a whole mouthful, yes it's from the Kernel API Manual, and yes we're gonna get through it together π«Ά this is the decode-ring girlie of the vcn_v2_0 family and she has ONE job, but we're gonna learn it properly.
β¨ NAME β¨
vcn_v2_0_dec_ring_emit_ib β execute indirect buffer πΈ
like, that's literally the whole personality. she emits. she executes. she goes off.
π SYNOPSIS π
void vcn_v2_0_dec_ring_emit_ib (struct amdgpu_ring *ring , struct
amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
no return value, ngl β she's a void girlie, she does the thing and she doesn't report back π
π ARGUMENTS π
four params, let's meet them, they're all main characters in their own way:
ringβ anamdgpu_ringpointer. yes queen, the ring. that's the vibe. π«jobβ the job we're pulling thevmidfrom. she's not here to do the work herself, she's here to hand over thevmid, iconic honestly πibβ the indirect buffer we're about to execute. this is the actual moment, this is her moment π₯flagsβ unused. yeah. it's giving background character. we still love her though π
π¦ DESCRIPTION π¦
Write ring commands to execute the indirect buffer β¨
that's it, that's the whole description, and honestly? it eats. she writes ring commands, the indirect buffer gets executed, periodt π no extra lore, no secret behaviour, just ring commands β indirect buffer β done.
π SEE ALSO π
okay this is the friend group, and they're a LOT, so let's go π§
First, the kernel file herself:
Kernel file ./drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
and now the whole squad, in exactly this order:
vcn_v2_0_early_init(9)vcn_v2_0_sw_init(9)vcn_v2_0_sw_fini(9)vcn_v2_0_hw_init(9)vcn_v2_0_hw_fini(9)vcn_v2_0_suspend(9)vcn_v2_0_resume(9)vcn_v2_0_mc_resume(9)vcn_v2_0_disable_clock_gating(9)vcn_v2_0_enable_clock_gating(9)vcn_v2_0_dec_ring_get_rptr(9)vcn_v2_0_dec_ring_get_wptr(9)vcn_v2_0_dec_ring_set_wptr(9)vcn_v2_0_dec_ring_insert_start(9)vcn_v2_0_dec_ring_insert_end(9)vcn_v2_0_dec_ring_insert_nop(9)vcn_v2_0_dec_ring_emit_fence(9)vcn_v2_0_enc_ring_get_rptr(9)vcn_v2_0_enc_ring_emit_fence(9)vcn_v2_0_enc_ring_emit_ib(9)
twenty of them. twenty!!! she's got a big chosen family and we respect it ππ«Ά
lowkey a reminder bestie: flags really is unused here β don't go passing something in expecting magic, it's just vibes πΈ
and that's the page!! mwah π this lil doc lives over in ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β go bestie, go write those ring commands πβ¨
π¦ 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