cik_sdma_ring_emit_ib(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_ring_emit_ib β€” from the Kernel API Manual, bestie

okay so picture this: it's a whole manual page called cik_sdma_ring_emit_ib(9), and it's literally about scheduling stuff on the DMA engine. sit down, hydrate, let's get into it 🫢


✨ NAME ✨

cik_sdma_ring_emit_ib β€” schedule an IB on the DMA engine. that's it, that's the vibe. πŸŽ€


🌸 SYNOPSIS 🌸

void cik_sdma_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );

like, it returns void, so it gives you nothing back emotionally. no cap, it's giving "i do the work and i don't need applause." πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • ring β€” the amdgpu ring pointer. this is the ring we're doing all of this on, bestie.
  • job β€” the job you're pulling the vmid from. yes, that's where the vmid lives, go get it πŸƒβ€β™€οΈ
  • ib β€” the IB object you wanna schedule. the main character of this whole function, fr fr.
  • flags β€” unused. literally just sitting there, minding its own business, iconic behaviour honestly πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

schedule an IB in the DMA ring (CIK). that's the entire plot. one sentence, no notes, periodt. ✨

ngl it's a short description but the details are the point β€” it's the DMA ring, and it's specifically the CIK one. don't go confusing it with other rings, iykyk 🧚

🌈 SEE ALSO 🌈

first up, the kernel file β€” this is where the actual source lives, go be nosy:

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/cik_sdma.c

and then the whole friend group, the entire cik_sdma cinematic universe, in order:


and that's the page!! πŸ“ go read the sibling functions, they all ate. this lil manual lives under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” so yeah, it's from the future, and it still says flags is unused 😭 stay hydrated, bestie, and may all your IBs be scheduled πŸ’œπŸ‘‘


πŸ“¦ where this page comes from