amdgpu_dm_ir...er_interrupt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to ih. 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


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