sdma_v5_2_ring_get_wptr(9)
π sdma_v5_2_ring_get_wptr (9) β Kernel API Manual π
okay so bestie, welcome to the <pink>sdma_v5_2_ring_get_wptr</pink> era of the Kernel API Manual, this one is short and sweet and honestly? a little iconic. it's giving "small function, big responsibilities" energy fr fr.
β¨ NAME β¨
sdma_v5_2_ring_get_wptr β get the current write pointer π
π¦ SYNOPSIS π¦
uint64_t sdma_v5_2_ring_get_wptr (struct amdgpu_ring *ring );
like, that's it. one argument. returns a uint64_t. she's low maintenance, she's efficient. π
π ARGUMENTS π
ringβ an amdgpu ring pointer, aka the lil ring you're asking about. hand her over and she'll tell you what's up. π«Ά
πΈ DESCRIPTION πΈ
so what does she actually do? <hotpink>she gets the current wptr from the hardware</hotpink>. that's "wptr" as in write pointer, iykyk. and the <purple>(NAVI10+)</purple> in parentheses? that's the vibe check β this is the NAVI10-and-later situation, no cap. π§
that's the whole description. no plot twists, no hidden caveats, just a hardware read. periodt. β¨
π₯ SEE ALSO π₯
bestie, the friend group is huge, so buckle up:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/sdma_v5_2.cβ the whole main character source file π sdma_v5_2_ring_get_rptr(9)sdma_v5_2_ring_set_wptr(9)sdma_v5_2_ring_emit_ib(9)sdma_v5_2_ring_emit_mem_sync(9)sdma_v5_2_ring_emit_hdp_flush(9)sdma_v5_2_ring_emit_fence(9)sdma_v5_2_gfx_stop(9)sdma_v5_2_rlc_stop(9)sdma_v5_2_ctx_switch_enable(9)sdma_v5_2_enable(9)sdma_v5_2_gfx_resume_instance(9)sdma_v5_2_gfx_resume(9)sdma_v5_2_rlc_resume(9)sdma_v5_2_load_microcode(9)sdma_v5_2_start(9)sdma_v5_2_ring_test_ring(9)sdma_v5_2_ring_test_ib(9)sdma_v5_2_vm_copy_pte(9)sdma_v5_2_vm_write_pte(9)sdma_v5_2_vm_set_pte_pde(9)sdma_v5_2_ring_pad_ib(9)sdma_v5_2_ring_emit_pipeline_sync(9)sdma_v5_2_ring_emit_vm_flush(9)sdma_v5_2_emit_copy_buffer(9)sdma_v5_2_emit_fill_buffer(9)
like I said. massive friend group. go say hi. π
and that's the whole page, bestie π written under ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and signed off by none other than sdma_v5_2_ring_get_wptr(9) herself β slay, go read your write pointers responsibly πβ¨
π¦ 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