radeon_irq_k...rq_n_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to radeon_irq_k...rq_n_enabled(9) from the Kernel API Manual β€” yes, the title is truncated like that, and no, we are not fixing it, it’s iconic. This is the page for the helper that handles interrupt enable registers in the radeon driver, and we’re gonna get you all the way together. ✨

πŸ’– NAME πŸ’–

radeon_irq_kms_set_irq_n_enabled β€” helper for updating interrupt enable registers πŸ’…

✨ SYNOPSIS ✨

okay so the signature goes like this, exactly:

void radeon_irq_kms_set_irq_n_enabled (struct radeon_device *rdev , u32
reg , u32 mask , bool enable , const char *name , unsigned n );

πŸŽ€ ARGUMENTS πŸŽ€

here’s the group chat roll call 🫢

  • rdev β€” radeon device pointer
  • reg β€” the register to write to enable/disable interrupts
  • mask β€” the mask that enables the interrupts
  • enable β€” whether to enable or disable the interrupt register
  • name β€” the name of the interrupt register to print to the kernel log
  • n β€” the number of the interrupt register to print to the kernel log

πŸ¦‹ DESCRIPTION πŸ¦‹

this helper is for updating the enable state of interrupt registers. it checks whether or not the interrupt matches the enable state we want. if it doesn't, then it updates it and prints a debugging message to the kernel log indicating the new state of the interrupt register. no cap. πŸ¦‹

it’s also used for updating sequences of interrupts registers like HPD1, HPD2, etc. β€” yes, sequences, plural, we love a systematic little helper. 🌈

🌸 SEE ALSO 🌸

the kernel file lives here: ./drivers/gpu/drm/radeon/radeon_irq_kms.c πŸ“


and that’s the page, bestie πŸŽ€ it comes from ./drivers/gpu/drm/radeon, dated October 2026, and the footer title is still radeon_irq_k...rq_n_enabled(9) β€” periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from