cik_sdma_ring_test_ring(9)
β¨ cik_sdma_ring_test_ring β¨
okay so bestie, welcome to the Kernel API Manual π β this one's called cik_sdma_ring_test_ring, and it is literally the sweetest little vibe-check function in the whole AMD GPU driver. it's a simple async dma engine test, no cap π
πΈ SYNOPSIS πΈ
int cik_sdma_ring_test_ring (struct amdgpu_ring *ring );
π¦ ARGUMENTS π¦
ringβ theamdgpu_ringstructure holding ring information π«Ά that's it, that's the whole argument list, she's low-maintenance.
π DESCRIPTION π
so what does she actually do? she tests the DMA engine by writing using it to write an value to memory β yes bestie, the engine writes, the engine is the whole point, we're putting her to work π (specifically this is the CIK flavour of things).
Returns 0 for success, error for failure. that's the vibe check: 0 = slay, error = not slay π fr fr.
π SEE ALSO π
the kernel file herself lives at ./drivers/gpu/drm/amd/amdgpu/cik_sdma.c β go say hi π§
and here's the whole squad, all of them, in order, no one left behind:
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_ib(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)
bestie this one lives under ./drivers/gpu/drm/amd/amdgpu π
that's the whole page!! π sign-off time: this cutie is dated October 2026, brought to you by the manual squad as cik_sdma_ring_test_ring(9) β mwah, go test some rings, iykyk π
β¨π
π¦ 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