amdgpu_dm_irq_set(9)
π amdgpu_dm_irq_set(9) β kernel API manual, but make it make sense
okay so bestie, welcome to the section 9 glow-up of amdgpu_dm_irq_set π this is a kernel API manual page and it's genuinely iconic once you get past the acronyms, i promise.
β¨ NAME β¨
amdgpu_dm_irq_set β enable or disable a DC interrupt source. that's the whole gig π
πΈ SYNOPSIS πΈ
bool amdgpu_dm_irq_set (struct amdgpu_device *adev , enum dc_irq_source
src , bool enable );
like, it takes three things and hands you back a bool. slay.
π¦ ARGUMENTS π¦
adevβ the AMD DRM device. your main character hardware fr.srcβ the DC interrupt source you wanna toggle. pick your fighter πenableβtrueto enable the source,falseto disable it. binary queen behavior, no cap.
π₯ DESCRIPTION π₯
so this is the DM-wide replacement for dc_interrupt_set. lowkey important: since locking is DM's responsibility, this function is a thin wrapper that serializes the underlying read-modify-write against all the other interrupt sources that share HW control registers with src. it's giving "we share a locker, we communicate" energy π«Ά
and because of all that shared-register drama, DM must never call dc_interrupt_set directly. like, not ever. that's the rule, periodt π
π RETURN π
returns true if the source was toggled. that's it, that's the return value β¨
π SEE ALSO π
kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h β go read it, it's the vibe check
and the whole friend group:
amdgpu_dm_irq_init(9)amdgpu_dm_irq_fini(9)amdgpu_dm_irq_register_interrupt(9)amdgpu_dm_irq_unregister_interrupt(9)amdgpu_dm_irq_ack(9)amdgpu_dm_irq_suspend(9)amdgpu_dm_irq_resume_early(9)
and that's the page, bestie π this cutie lives at ./drivers/gpu/drm/amd/display/... and the date stamp on this whole lewk is October 2026 β so yeah, take the notes, study the notes, and go toggle some interrupt sources responsibly πΈπ
π
π¦ 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