sdma_v2_4_ring_get_rptr(9)
π sdma_v2_4_ring_get_rptr(9)
okay so this is a page from the Kernel API Manual, and it's literally about one tiny function that does one tiny thing, but bestie it's important okay π€
β¨ NAME β¨
sdma_v2_4_ring_get_rptr β get the current read pointer π―
πΈ SYNOPSIS πΈ
uint64_t sdma_v2_4_ring_get_rptr (struct amdgpu_ring *ring );
like, it returns a uint64_t and takes exactly one arg, no cap π
π¦ ARGUMENTS π¦
ringβ amdgpu ring pointer π the one and only thing you hand it, and yes it's a ring pointer from amdgpu, that's the whole vibe
π DESCRIPTION π
Get the current rptr from the hardware (VI+). periodt β¨
that's it. that's the function. it reaches into the hardware, grabs the current read pointer, and hands it back to you as a uint64_t. VI+ only, so if you're on something older this is not your era π
π SEE ALSO π
the main character file itself lives at ./drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c β go read it, iykyk π
and here's the whole friend group, all of them, no one left out π«Ά
sdma_v2_4_init_microcode(9)sdma_v2_4_ring_get_wptr(9)sdma_v2_4_ring_set_wptr(9)sdma_v2_4_ring_emit_ib(9)sdma_v2_4_ring_emit_hdp_flush(9)sdma_v2_4_ring_emit_fence(9)sdma_v2_4_gfx_stop(9)sdma_v2_4_rlc_stop(9)sdma_v2_4_enable(9)sdma_v2_4_gfx_resume(9)sdma_v2_4_rlc_resume(9)sdma_v2_4_start(9)sdma_v2_4_ring_test_ring(9)sdma_v2_4_ring_test_ib(9)sdma_v2_4_vm_copy_pte(9)sdma_v2_4_vm_write_pte(9)sdma_v2_4_vm_set_pte_pde(9)sdma_v2_4_ring_pad_ib(9)sdma_v2_4_ring_emit_pipeline_sync(9)sdma_v2_4_ring_emit_vm_flush(9)sdma_v2_4_emit_copy_buffer(9)sdma_v2_4_emit_fill_buffer(9)
and that's the whole page, bestie π this cutie lives in ./drivers/gpu/drm/amd/amdgpu, and the version of the page you're reading is dated October 2026 β so go get that read pointer, slay, and drink some water πβ¨ππ¦
π¦ 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