amdgpu_dm_irq_fini(9)
π amdgpu_dm_irq_fini β the cleanup girlie β¨
bestie, we are in the Kernel API Manual (section 9, for the uninitiated π), and this is the little teardown function for amdgpu_dm_irq. it frees the internal structures, no cap.
πΈ SYNOPSIS πΈ
void amdgpu_dm_irq_fini (struct amdgpu_device *adev );
that's it. that's the whole vibe. one function, one argument, zero drama π
π ARGUMENTS π
adevβ honestly? the original docs say "-- undescribed --" so like... it's giving mystery. it's astruct amdgpu_device *and that's literally all we're told, iykyk π«Ά
not me pointing out that the manpage itself leaves this one blank π we respect the honesty fr fr
π¦ DESCRIPTION π¦
okay so here's the thing, and this is the ONE rule: this function should be called exactly once β during DM destruction. not twice, not never, not whenever you feel like it. once. periodt. π
think of it like the final goodbye at the end of a group chat era β you do it one time, you do it right, and then you move on β¨
π₯ SEE ALSO π₯
the whole irq friend group, plus the header it lives in:
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h amdgpu_dm_irq_init(9)amdgpu_dm_irq_register_interrupt(9)amdgpu_dm_irq_unregister_interrupt(9)amdgpu_dm_irq_set(9)amdgpu_dm_irq_ack(9)amdgpu_dm_irq_suspend(9)amdgpu_dm_irq_resume_early(9)
all the siblings, all iconic, all worth a read π
and that's the whole page bestie π§ source lives at ./drivers/gpu/drm/amd/display/..., this edition is dated October 2026, and the manpage is amdgpu_dm_irq_fini(9) β go forth and free your structures exactly once πβ
π¦ 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