uvd_v4_2_ring_emit_ib(9)
π« uvd_v4_2_ring_emit_ib(9) π«
okay so bestie, welcome to the Kernel API Manual section nine β this one's a little function from the AMDGPU crew and it's lowkey iconic in a very specific "I make the hardware do the thing" way. No cap, let's get into it. π
β¨ NAME β¨
uvd_v4_2_ring_emit_ib β execute indirect buffer
literally what it says on the tin, babe. it executes an indirect buffer. that's the whole vibe. π
πΈ SYNOPSIS πΈ
void uvd_v4_2_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job
*job , struct amdgpu_ib *ib , uint32_t flags );
it returns void, so don't go looking for a return value, there isn't one, periodt. π«Ά
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer. your ring. the main character of this whole operation fr fr. πjobβ theiobassociated with the indirect buffer. (yes, the manual literally writesiobthere, we are NOT fixing it, we love her exactly as she is π)ibβ the indirect buffer to execute. the actual thing getting run. she's the moment. βflagsβ flags associated with the indirect buffer. the lil details that ride along. π
π DESCRIPTION π
Write ring commands to execute the indirect buffer.
that's it. that's the description. short, sweet, and absolutely not doing small talk. the function's whole job is to write ring commands so the indirect buffer gets executed β no extra lore, no side quests, we stay focused in this house. β¨
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/uvd_v4_2.cβ the source, go read her if you want the real tea π uvd_v4_2_ring_get_rptr(9)uvd_v4_2_ring_get_wptr(9)uvd_v4_2_ring_set_wptr(9)uvd_v4_2_hw_init(9)uvd_v4_2_hw_fini(9)uvd_v4_2_start(9)uvd_v4_2_stop(9)uvd_v4_2_ring_emit_fence(9)uvd_v4_2_ring_test_ring(9)uvd_v4_2_mc_resume(9)
the whole squad, all here, all accounted for. iykyk. π§π
ngl bestie, this one's a short page β but every line of it is load-bearing, so don't skip the blanks. π
and that's the whole page, mwah π β source/version lives at ./drivers/gpu/drm/amd/amdgpu and this lil beauty is dated October 2026, so bookmark her for the future, she'll be right there waiting. π¦ππΈ
π¦ 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