cik_sdma_ring_test_ib(9)
π 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β theamdgpu_ringstructure holding ring information π like it literally holds the ring info, that's its whole job, iconic behavior honestlytimeoutβ timeout value in jiffies, orMAX_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:
cik_sdma_init_microcode(9)cik_sdma_ring_get_rptr(9)cik_sdma_ring_get_wptr(9)cik_sdma_ring_set_wptr(9)cik_sdma_ring_emit_ib(9)cik_sdma_ring_emit_hdp_flush(9)cik_sdma_ring_emit_fence(9)cik_sdma_gfx_stop(9)cik_sdma_rlc_stop(9)cik_ctx_switch_enable(9)cik_sdma_enable(9)cik_sdma_gfx_resume(9)cik_sdma_rlc_resume(9)cik_sdma_load_microcode(9)cik_sdma_start(9)cik_sdma_ring_test_ring(9)cik_sdma_vm_copy_pte(9)cik_sdma_vm_write_pte(9)cik_sdma_vm_set_pte_pde(9)cik_sdma_ring_pad_ib(9)cik_sdma_ring_emit_pipeline_sync(9)cik_sdma_ring_emit_vm_flush(9)cik_sdma_emit_copy_buffer(9)cik_sdma_emit_fill_buffer(9)
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
- 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