cik_ih_set_rptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_ih_set_rptr(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the AMDGPU source tree, it's late, and you just need to poke one little pointer. That's this function. It's a kernel API function from the Kernel API Manual, and honestly? It's giving "small but mighty." ✨


✨ NAME ✨

cik_ih_set_rptr β€” set the IH ring buffer rptr πŸŒ€


🌸 SYNOPSIS 🌸

void cik_ih_set_rptr (struct amdgpu_device *adev , struct amdgpu_ih_ring *ih );

no cap, that's the whole thing. void in, vibes out. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” amdgpu_device pointer. literally the device, your main character. πŸ‘‘
  • ih β€” IH ring buffer to set wptr πŸ’€
okay so yes, the manpage really does say "wptr" on the ih argument while the function name, the NAME line and the DESCRIPTION all say rptr. I'm not fixing it, I'm not arguing with it, I'm just reading the docs as they were written. iykyk πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

Set the IH ring buffer rptr. periodt. πŸŽ€

That's it, that's the description β€” short, sweet, and it ate. No extra lore, no secret chapters, just: point the read pointer where it needs to go. ⭐


🌈 SEE ALSO 🌈

the kernel file itself lives at ./drivers/gpu/drm/amd/amdgpu/cik_ih.c β€” go say hi, she's iconic:


and that's the page!! 🧚 mwah πŸ’œ

source/version: ./drivers/gpu/drm/amd/amdgpu β€” dated October 2026. everyone say thank you to the kernel docs team, they're doing the lord's work πŸ“πŸ”₯

πŸ“¦ where this page comes from