iceland_ih_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” an amdgpu_device pointer, aka the device handle πŸ’–
  • ih β€” the IH ring buffer we’re fetching the wptr from πŸ¦‹

πŸ’« 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


signed off with love from ./drivers/gpu/drm/amd/amdgpu πŸ’… β€” October 2026 β€” iceland_ih_get_wptr(9) 🫢✨

πŸ“¦ where this page comes from