sdma_v5_0_ring_get_rptr(9)
π« sdma_v5_0_ring_get_rptr(9) β the kernel API manual, bestie edition π«
okay so this is a page from the Kernel API Manual, and the star of the show is literally a function called sdma_v5_0_ring_get_rptr. yeah. that one. buckle up π
β¨ NAME β¨
sdma_v5_0_ring_get_rptr β get the current read pointer π
πΈ SYNOPSIS πΈ
uint64_t sdma_v5_0_ring_get_rptr (struct amdgpu_ring *ring );
like, that's the whole signature. she's cute, she's tidy, she returns a uint64_t. no cap. π¦
π§ ARGUMENTS π§
ringβ amdgpu ring pointer. that's the vibe. you hand her a ring, she does her thing π«Ά
π DESCRIPTION π
so what does she actually do? she gets the current rptr from the hardware (NAVI10+). that's it. that's the whole personality. β¨
lowkey iconic that a two-line description is carrying this much main character energy, but here we are π
π₯ SEE ALSO π₯
the kernel file lives right here, bestie:
./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
and here's the whole friend group, fr fr β every single one of these is invited to the group chat:
sdma_v5_0_init_microcode(9)sdma_v5_0_ring_get_wptr(9)sdma_v5_0_ring_set_wptr(9)sdma_v5_0_ring_emit_ib(9)sdma_v5_0_ring_emit_mem_sync(9)sdma_v5_0_ring_emit_hdp_flush(9)sdma_v5_0_ring_emit_fence(9)sdma_v5_0_gfx_stop(9)sdma_v5_0_rlc_stop(9)sdma_v5_0_ctx_switch_enable(9)sdma_v5_0_enable(9)sdma_v5_0_gfx_resume_instance(9)sdma_v5_0_gfx_resume(9)sdma_v5_0_rlc_resume(9)sdma_v5_0_load_microcode(9)sdma_v5_0_start(9)sdma_v5_0_ring_test_ring(9)sdma_v5_0_ring_test_ib(9)sdma_v5_0_vm_copy_pte(9)sdma_v5_0_vm_write_pte(9)sdma_v5_0_vm_set_pte_pde(9)sdma_v5_0_ring_pad_ib(9)sdma_v5_0_ring_emit_pipeline_sync(9)sdma_v5_0_ring_emit_vm_flush(9)sdma_v5_0_emit_copy_buffer(9)sdma_v5_0_emit_fill_buffer(9)
π reminder: the whole squad lives over in ./drivers/gpu/drm/amd/amdgpu β that's the source spot, iykyk π
and that's the page!! mwah π this one comes from the Kernel API Manual, lives under ./drivers/gpu/drm/amd/amdgpu, and it's dated October 2026 β so yeah, she's from the future, slay πβπ
π¦ 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