cik_sdma_ring_test_ib(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_sdma_ring_test_ib(9) β€” like, the Kernel API Manual, bestie ✨

okay so real talk, this is a page from the Kernel API Manual and it's about one (1) tiny little function that goes "hey bestie, does this IB actually work on the DMA engine?" πŸŽ€


🌸 NAME 🌸

cik_sdma_ring_test_ib β€” test an IB on the DMA engine, no cap πŸ”₯


✨ SYNOPSIS ✨

int cik_sdma_ring_test_ib (struct amdgpu_ring *ring , long timeout );

like… that's it. that's the whole vibe check. πŸ¦‹


🫢 ARGUMENTS 🫢

  • ring β€” the amdgpu_ring structure holding ring information πŸ’– like it literally holds the ring info, that's its whole job, iconic behavior honestly
  • timeout β€” timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT ⏳ (yes the all-caps one means "wait basically forever", iykyk)

πŸ‘‘ DESCRIPTION πŸ‘‘

Test a simple IB in the DMA ring (CIK). 🧚 Returns 0 on success, error on failure. that's it. that's the whole function. short queen behavior periodt πŸ’…βœ¨


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/cik_sdma.c πŸ“ and honestly the whole friend group is here:


mwah πŸ’‹ this page came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it answers to the name cik_sdma_ring_test_ib(9) β€” slay, go test some IBs bestie πŸŽ€πŸ’œ

πŸ“¦ where this page comes from