sdma_v7_0_ring_test_ib(9)
π sdma_v7_0_ring_test_ib(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a function page, it lives in the kernel-doc girlie universe, and it's literally about poking the DMA engine to see if it's awake. no cap. π«Ά
β¨ NAME β¨
sdma_v7_0_ring_test_ib β test an IB on the DMA engine π§
π SYNOPSIS π
int sdma_v7_0_ring_test_ib (struct amdgpu_ring *ring , long timeout );
like, that's the whole signature. she's compact. she's iconic. π
πΈ ARGUMENTS πΈ
ringβ theamdgpu_ringstructure that's holding all the ring info. this is the main character of the whole operation, the struct that knows things πtimeoutβ the timeout value, measured in jiffies, orMAX_SCHEDULE_TIMEOUTif you're feeling patient and want to wait basically forever π
π¦ DESCRIPTION π¦
so what she does: she tests a simple IB in the DMA ring. that's it, that's the vibe. π©·
- returns
0on success (slay β¨) - returns an error on failure (not slay π)
fr fr that's the whole contract β if you get a 0 back you're golden, anything else means something went sideways and you should probably look into it.
π SEE ALSO π
okay this list is long long, but every single one of these deserves their flowers π the kernel file itself lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c, and then we got:
sdma_v7_0_ring_get_rptr(9)sdma_v7_0_ring_get_wptr(9)sdma_v7_0_ring_set_wptr(9)sdma_v7_0_ring_emit_ib(9)sdma_v7_0_ring_emit_mem_sync(9)sdma_v7_0_ring_emit_hdp_flush(9)sdma_v7_0_ring_emit_fence(9)sdma_v7_0_gfx_stop(9)sdma_v7_0_rlc_stop(9)sdma_v7_0_ctx_switch_enable(9)sdma_v7_0_enable(9)sdma_v7_0_gfx_resume_instance(9)sdma_v7_0_gfx_resume(9)sdma_v7_0_rlc_resume(9)sdma_v7_0_load_microcode(9)sdma_v7_0_start(9)sdma_v7_0_ring_test_ring(9)sdma_v7_0_vm_copy_pte(9)sdma_v7_0_vm_write_pte(9)sdma_v7_0_vm_set_pte_pde(9)sdma_v7_0_ring_pad_ib(9)sdma_v7_0_ring_emit_pipeline_sync(9)sdma_v7_0_ring_emit_vm_flush(9)sdma_v7_0_emit_copy_buffer(9)sdma_v7_0_emit_fill_buffer(9)
iykyk π
mwah π this little page comes to you from the source at ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β go read the real thing if you want the deep lore, and stay hydrated 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