cik_ih_set_rptr(9)
π 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:
cik_ih_enable_interrupts(9)cik_ih_disable_interrupts(9)cik_ih_irq_init(9)cik_ih_irq_disable(9)cik_ih_get_wptr(9)
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
- 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