jpeg_v5_0_2...ing_get_rptr(9)
π jpeg_v5_0_2_dec_ring_get_rptr π
okay so bestie, welcome to the Kernel API Manual β¨ β yes that's the manual this little cutie lives in, and honestly? she's lowkey iconic for how much she does with so few words. this is jpeg_v5_0_2_dec_ring_get_rptr(9) and the whole personality is "i read the pointer so you don't have to" π
πΈ NAME πΈ
jpeg_v5_0_2_dec_ring_get_rptr β get read pointer, periodt π
π¦ SYNOPSIS π¦
uint64_t jpeg_v5_0_2_dec_ring_get_rptr (struct amdgpu_ring *ring );
that's it. that's the whole call. one argument, one uint64_t coming back at you π«Ά
π ARGUMENTS π
ringβ anamdgpu_ringpointer, aka the ring you're asking about. hand her the ring, she gives you the read pointer. simple as. β¨
β DESCRIPTION β
Returns the current hardware read pointer. literally what it says on the tin β no cap, no hidden lore, no surprise side quests. you give her the ring, she hands back the hardware's current read pointer as a uint64_t, and honestly? she ate that ππ₯
it's giving "small function, big main character energy" π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.cβ that's where she lives, go say hi π§ jpeg_v5_0_2_early_init(9)jpeg_v5_0_2_sw_init(9)jpeg_v5_0_2_sw_fini(9)jpeg_v5_0_2_hw_init(9)jpeg_v5_0_2_hw_fini(9)jpeg_v5_0_2_suspend(9)jpeg_v5_0_2_resume(9)jpeg_v5_0_2_start(9)jpeg_v5_0_2_stop(9)jpeg_v5_0_2_dec_ring_get_wptr(9)jpeg_v5_0_2_dec_ring_set_wptr(9)
the whole friend group fr fr β read pointer, write pointer getter, write pointer setter, they're a package deal π
ngl there are no gotchas here, no scary caveats, no "undefined behaviour" jumpscare π. just make sureringis an actual validamdgpu_ringpointer, because she will NOT be doing vibe checks on it for you π
mwah π that's the page! sourced from ./drivers/gpu/drm/amd/amdgpu, straight out of the Kernel API Manual, dated October 2026 β see you in the next one bestie, 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