amdgpu_dm_ir...er_interrupt(9)
π NAME
amdgpu_dm_irq_register_interrupt β okay so this is the function that registers an irq handler for the Display block, bestie. That's literally the whole vibe. β¨
Also hiiii, welcome to the Kernel API Manual π β this page is called amdgpu_dm_ir...er_interrupt(9) in case you were wondering what you clicked on.
πΈ SYNOPSIS
void * amdgpu_dm_irq_register_interrupt (struct amdgpu_device *adev ,
struct dc_interrupt_params *int_params , void (*ih)(void *) , void
*handler_args );
Like, four things in, one void * out. Iconic signature honestly. π«Ά
β¨ ARGUMENTS
adevβ the AMD DRM device. Your whole GPU situation, basically. πint_paramsβ the parameters for the irq. All the config energy lives here. πihβ pointer to the irq handler function. Yes, a function pointer, don't panic, it's giving main character energy. π₯handler_argsβ the arguments that will be passed toih. Think of it as the little care package you hand over to your handler. π
π RETURN
IRQ Handler Index on success. NULL on failure.
That's it. Index = slay. NULL = not slay. π
π¦ DESCRIPTION
Cannot be called from an interrupt handler.
Fr fr, do not call this from inside an interrupt handler. That's the one hard boundary here, no cap. π
π SEE ALSO
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.hβ go read it, iykyk π amdgpu_dm_irq_init(9)amdgpu_dm_irq_fini(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)
Source file cuteness: ./drivers/gpu/drm/amd/display/... β dated October 2026 β and the page answers to the name amdgpu_dm_ir...er_interrupt(9). That's the whole footer, mwah πβ¨
π¦ 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