navi10_ih_get_wptr(9)
π navi10_ih_get_wptr(9) β Kernel API Manual energy β¨
okay bestie, welcome to the Kernel API Manual entry for navi10_ih_get_wptr(9) β yes that's the manual name, yes it's a mouthful, and yes we're gonna get through it together π«Ά
πΈ NAME πΈ
navi10_ih_get_wptr β get the IH ring buffer wptr π«
π SYNOPSIS π
u32 navi10_ih_get_wptr (struct amdgpu_device *adev , struct
amdgpu_ih_ring *ih );
like, that's the whole signature. returns a u32. no notes. π
π¦ ARGUMENTS π¦
adevβ amdgpu_device pointer. it's giving "the device, bestie" πihβ the IH ring buffer to fetchwptrfrom, slay π
β¨ DESCRIPTION β¨
so here's the vibe check on what this actually does π§
Get the IH ring buffer wptr from either the register or the writeback memory buffer (NAVI10) β like, two sources, one wptr, iconic. π
It also checks for ring buffer overflow and deals with it. no cap, that's a real part of the job, not just a cute bonus. π
Returns the value of the wptr. periodt. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/navi10_ih.c β the main character source file fr fr π
and the whole friend group, in order π«
navi10_ih_init_register_offset(9)force_update_wptr_for_self_int(9)navi10_ih_toggle_ring_interrupts(9)navi10_ih_toggle_interrupts(9)navi10_ih_enable_ring(9)navi10_ih_irq_init(9)navi10_ih_irq_disable(9)navi10_ih_irq_rearm(9)navi10_ih_set_rptr(9)navi10_ih_self_irq(9)
ngl that's the whole page bestie, go read the source file next and hydrate π§
okay and before I go β this whole thing lives under ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's <rainbow>navi10_ih_get_wptr(9)</rainbow> in case you forgot already π mwah, bye! πππ¦
π¦ 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