jpeg_v5_0_1...ing_get_wptr(9)
π jpeg_v5_0_1_dec_ring_get_wptr β get write pointer β¨
okay so bestie, this is a kernel API manual page (yes, the 9 means section 9, it's giving kernel-doc energy π). Let's get into it.
β¨ NAME β¨
jpeg_v5_0_1_dec_ring_get_wptr β get write pointer ποΈ
πΈ SYNOPSIS πΈ
uint64_t jpeg_v5_0_1_dec_ring_get_wptr (struct amdgpu_ring *ring );
like, that's the whole signature, no cap. it hands you back a uint64_t and takes exactly one thing. slay.
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer π (literally just a pointer to an amdgpu_ring, that's the whole vibe)
π DESCRIPTION π
Returns the current hardware write pointer. that's it. that's the function. it goes and gets the wptr and gives it to you π«
lowkey iconic for how straightforward it is ngl.
π SEE ALSO π
the kernel file this lives in:
./drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
and the whole friend group π«Ά:
jpeg_v5_0_1_early_init(9)jpeg_v5_0_1_sw_init(9)jpeg_v5_0_1_sw_fini(9)jpeg_v5_0_1_hw_init(9)jpeg_v5_0_1_hw_fini(9)jpeg_v5_0_1_suspend(9)jpeg_v5_0_1_resume(9)jpeg_v5_0_1_start(9)jpeg_v5_0_1_stop(9)jpeg_v5_0_1_dec_ring_get_rptr(9)jpeg_v5_0_1_dec_ring_set_wptr(9)
like look at get_rptr and set_wptr right there at the end β they're literally siblings of this one, iykyk π₯
and that's the page!! π this one came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β mwah, ty for reading bestie, go read the rptr one next πβ¨π
π¦ 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