iceland_ih_get_wptr(9)
β¨ iceland_ih_get_wptr(9) β¨
okay bestie, welcome to the Kernel API Manual page for iceland_ih_get_wptr(9) β manual name folded in right at the top, as requested π
πΈ NAME πΈ
iceland_ih_get_wptr β get the IH ring buffer wptr β¨
β¨ SYNOPSIS β¨
u32 iceland_ih_get_wptr (struct amdgpu_device *adev , struct
amdgpu_ih_ring *ih );
π ARGUMENTS π
adevβ anamdgpu_devicepointer, aka the device handle πihβ the IH ring buffer weβre fetching thewptrfrom π¦
π« DESCRIPTION π«
So this function gets the IH ring buffer wptr from either the register or the writeback memory buffer (VI) β both paths are in the mix, no cap.
It also checks for ring buffer overflow and deals with it. Like, it sees the overflow situation and handles it, periodt.
Itβs used by cz_irq_process(VI). And yes, it returns the value of the wptr β thatβs the whole point, bestie π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/iceland_ih.c
iceland_ih_enable_interrupts(9)iceland_ih_disable_interrupts(9)iceland_ih_irq_init(9)iceland_ih_irq_disable(9)iceland_ih_decode_iv(9)iceland_ih_set_rptr(9)
signed off with love from ./drivers/gpu/drm/amd/amdgpu π
β October 2026 β iceland_ih_get_wptr(9) π«Άβ¨
π¦ 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