uvd_v7_0_ring_emit_ib(9)
π uvd_v7_0_ring_emit_ib β kernel API manual energy β¨
okay so bestie, welcome to uvd_v7_0_ring_emit_ib(9) β yes that's the manual page name, yes it's a mouthful, no we're not shortening it, it's iconic as is π
β¨ NAME β¨
uvd_v7_0_ring_emit_ib β execute indirect buffer π¦
β¨ SYNOPSIS β¨
void uvd_v7_0_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job
*job , struct amdgpu_ib *ib , uint32_t flags );
like, that's the whole signature. no cap, that's it π
β¨ ARGUMENTS β¨
ringβ anamdgpu_ringpointer, bestie. the ring. the main character πjobβ the job we're pulling the vmid out of πibβ the indirect buffer we're actually executing, that's the whole point π―flagsβ literally unused. not me putting a param there and never touching it π
β¨ DESCRIPTION β¨
Write ring commands to execute the indirect buffer. that's it, that's the vibe check β you're writing ring commands so the IB goes brrr π₯β¨
πΈ SEE ALSO πΈ
Kernel file ./drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c β go read the source, iykyk π§
and the whole friend group, in order, no skipping:
uvd_v7_0_ring_get_rptr(9)uvd_v7_0_enc_ring_get_rptr(9)uvd_v7_0_ring_get_wptr(9)uvd_v7_0_enc_ring_get_wptr(9)uvd_v7_0_ring_set_wptr(9)uvd_v7_0_enc_ring_set_wptr(9)uvd_v7_0_enc_ring_test_ring(9)uvd_v7_0_enc_get_create_msg(9)uvd_v7_0_enc_get_destroy_msg(9)uvd_v7_0_enc_ring_test_ib(9)uvd_v7_0_hw_init(9)uvd_v7_0_hw_fini(9)uvd_v7_0_mc_resume(9)uvd_v7_0_start(9)uvd_v7_0_stop(9)uvd_v7_0_ring_emit_fence(9)uvd_v7_0_enc_ring_emit_fence(9)uvd_v7_0_ring_emit_hdp_flush(9)uvd_v7_0_ring_test_ring(9)uvd_v7_0_ring_patch_cs_in_place(9)uvd_v7_0_enc_ring_emit_ib(9)
fr fr read the source file before you touch the ring, i'm literally begging π«Ά
and that's the page!! sign-off time: this lil gem lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the header/manual name up top is uvd_v7_0_ring_emit_ib(9). slay, go execute some indirect buffers πππ
π¦ 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