jpeg_v2_5_dec_ring_get_rptr(9)
π jpeg_v2_5_dec_ring_get_rptr π
okay so bestie, welcome to the Kernel API Manual β¨ β today we're looking at jpeg_v2_5_dec_ring_get_rptr, and honestly? it's giving "tiny function, big main character energy." π
πΈ NAME πΈ
jpeg_v2_5_dec_ring_get_rptr β get read pointer π«Ά
like, that's literally it. it gets the read pointer. slay.
β¨ SYNOPSIS β¨
uint64_t jpeg_v2_5_dec_ring_get_rptr (struct amdgpu_ring *ring );
so you hand it a ring and it hands you back a uint64_t. one in, one out. balanced. iconic. π
π¦ ARGUMENTS π¦
ringβ anamdgpu_ringpointer π that's the whole vibe, that's the whole argument, there's exactly one (1) of them and it's a pointer to astruct amdgpu_ring.
π₯ DESCRIPTION π₯
okay so what does it actually do? it returns the current hardware read pointer β¨ periodt. that's the entire thing. no cap, no hidden extras, no secret side quests. you ask it for the read pointer, it gives you the read pointer. obsessed. π
π SEE ALSO π
the kernel file it lives in, fr fr:
./drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
and the whole friend group it runs with (go say hi to all of them, they're all (9) sections iykyk):
jpeg_v2_5_early_init(9)jpeg_v2_5_sw_init(9)jpeg_v2_5_sw_fini(9)jpeg_v2_5_hw_init(9)jpeg_v2_5_hw_fini(9)jpeg_v2_5_suspend(9)jpeg_v2_5_resume(9)jpeg_v2_5_start(9)jpeg_v2_5_stop(9)jpeg_v2_5_dec_ring_get_wptr(9)jpeg_v2_5_dec_ring_set_wptr(9)jpeg_v2_6_dec_ring_insert_start(9)jpeg_v2_6_dec_ring_insert_end(9)
π lowkey reminder that the read pointer is a hardware read pointer β this function isn't out here computing anything, it's just reporting what the hardware says. don't go expecting magic, bestie, expect a pointer value. π
mwah π that's the page! this lil cutie comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's filed under jpeg_v2_5_dec_ring_get_rptr(9) β go read the whole jpeg_v2_5.c family, they ate. πππ§
π¦ 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