navi10_ih_get_wptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 fetch wptr from, 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 πŸ’«


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