sdma_v4_4_2_...ing_get_wptr(9)
π« sdma_v4_4_2_page_ring_get_wptr(9) β like, the Kernel API Manual era π«
okay so bestie, welcome to the glow-up of the Kernel API Manual page for sdma_v4_4_2_page_ring_get_wptr(9) β yes the title got a lil truncated in the header (sdma_v4_4_2_...ing_get_wptr(9), iconic abbreviation behavior), but we're doing the full name in the NAME section, don't worry π«Ά
πΈ NAME πΈ
sdma_v4_4_2_page_ring_get_wptr β get the current write pointer. that's it. that's the whole job. and she ate π
β¨ SYNOPSIS β¨
uint64_t sdma_v4_4_2_page_ring_get_wptr (struct amdgpu_ring *ring );
literally one function, one arg, returns a uint64_t. low-maintenance queen π
π ARGUMENTS π
ringβ an amdgpu ring pointer. that's the whole description bestie, it's giving "she doesn't need a long intro, you already know her" π
π¦ DESCRIPTION π¦
Get the current wptr from the hardware.
no cap, that's the entire bit. you're grabbing the current write pointer straight off the hardware β hardware-sourced, not vibes-based π ngl it's a short description but she's efficient, and efficiency is main character energy β
π₯ SEE ALSO π₯
first up, the kernel file she lives in:
./drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
and then the whole friend group β the entire sdma_v4_4_2 squad, in order, no one left out (i would NEVER π):
sdma_v4_4_2_init_microcode(9)sdma_v4_4_2_ring_get_rptr(9)sdma_v4_4_2_ring_get_wptr(9)sdma_v4_4_2_ring_set_wptr(9)sdma_v4_4_2_page_ring_set_wptr(9)sdma_v4_4_2_ring_emit_ib(9)sdma_v4_4_2_ring_emit_hdp_flush(9)sdma_v4_4_2_ring_emit_fence(9)sdma_v4_4_2_inst_gfx_stop(9)sdma_v4_4_2_inst_rlc_stop(9)sdma_v4_4_2_inst_page_stop(9)sdma_v4_4_2_inst_ctx_switch_enable(9)sdma_v4_4_2_inst_enable(9)sdma_v4_4_2_gfx_resume(9)sdma_v4_4_2_page_resume(9)sdma_v4_4_2_inst_rlc_resume(9)sdma_v4_4_2_inst_load_microcode(9)sdma_v4_4_2_inst_start(9)sdma_v4_4_2_ring_test_ring(9)sdma_v4_4_2_ring_test_ib(9)sdma_v4_4_2_vm_copy_pte(9)sdma_v4_4_2_vm_write_pte(9)sdma_v4_4_2_vm_set_pte_pde(9)sdma_v4_4_2_ring_pad_ib(9)sdma_v4_4_2_ring_emit_pipeline_sync(9)sdma_v4_4_2_ring_emit_vm_flush(9)sdma_v4_4_2_emit_copy_buffer(9)sdma_v4_4_2_emit_fill_buffer(9)sdma_v4_4_2_update_reset_mask(9)
like, the way that's a whole roster π she knows everybody, iykyk π
and that's the page!! sign-off time π this lil masterpiece comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and yeah the footer still says sdma_v4_4_2_...ing_get_wptr(9) because the header and footer are matching, periodt π
β¨
π¦ 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