sdma_v6_0_ring_get_rptr(9)
π sdma_v6_0_ring_get_rptr(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a tiny little function page but it's lowkey iconic, so let's get into it π«Ά
πΈ NAME πΈ
sdma_v6_0_ring_get_rptr β get the current read pointer, that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
uint64_t sdma_v6_0_ring_get_rptr (struct amdgpu_ring *ring );
like, you hand it a ring and it hands you back a uint64_t, no cap π
π¦ ARGUMENTS π¦
ringβ amdgpu ring pointer. that's the whole thing, she just wants the ring π
π DESCRIPTION π
Get the current rptr from the hardware. literally that's it, that's the function, she goes and asks the hardware what the read pointer is rn and brings it back to you π₯ no drama, no side quests, main character energy only π
π SEE ALSO π
the kernel file, bestie, go read it iykyk:
./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
and her whole friend group, fr fr:
sdma_v6_0_ring_get_wptr(9)sdma_v6_0_ring_set_wptr(9)sdma_v6_0_ring_emit_mem_sync(9)sdma_v6_0_ring_emit_hdp_flush(9)sdma_v6_0_ring_emit_fence(9)sdma_v6_0_gfx_stop(9)sdma_v6_0_rlc_stop(9)sdma_v6_0_ctxempty_int_enable(9)sdma_v6_0_enable(9)sdma_v6_0_gfx_resume_instance(9)sdma_v6_0_gfx_resume(9)sdma_v6_0_rlc_resume(9)sdma_v6_0_load_microcode(9)sdma_v6_0_start(9)sdma_v6_0_ring_test_ring(9)sdma_v6_0_vm_copy_pte(9)sdma_v6_0_vm_write_pte(9)sdma_v6_0_vm_set_pte_pde(9)sdma_v6_0_ring_emit_pipeline_sync(9)sdma_v6_0_emit_copy_buffer(9)sdma_v6_0_emit_fill_buffer(9)
and that's the whole page, bestie, short and slay π§β¨ this lil gem lives over in ./drivers/gpu/drm/amd/amdgpu and the version is dated October 2026 β mwah, go forth and get those read pointers π
ππ
π¦ 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