radeon_irq_kms_enable_hpd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… radeon_irq_kms_enable_hpd(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so real talk, this whole page lives in the Kernel API Manual and it's about one tiny function that makes your monitor's "hey I got plugged in!!" interrupt actually fire. it's giving ✨unsung hero✨ energy, ngl.


🌸 NAME 🌸

radeon_irq_kms_enable_hpd β€” turn on the hotplug detect interrupt πŸ”Œβœ¨

like... the function that goes "bestie, something just got plugged into the port" and the kernel actually listens. iconic behaviour fr fr.


✨ SYNOPSIS ✨

void radeon_irq_kms_enable_hpd (struct radeon_device *rdev , unsigned hpd_mask );

that's it. that's the whole function. no return value, she just does the thing and dips πŸ’… (void, yk? no receipts, no return address).


🫢 ARGUMENTS 🫢

  • rdev β€” the radeon device pointer. literally the radeon device itself, hand it over, she needs it, don't ask questions πŸ’–
  • hpd_mask β€” the mask of hpd pins you want to enable. one bit per pin, pick your faves, mask them in πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the whole vibe: this thing enables the hotplug detect interrupt for a specific hpd pin, and it does it on all asics πŸ‘‘

no caveats, no "only on the new ones", no fine print. every single asic gets the love. slay. 🌈

so when something gets plugged into that hpd pin, the interrupt fires and the kernel notices. that's the whole plot, no cap. πŸ¦‹


🧚 SEE ALSO 🧚

the source lives right here, iykyk:

Kernel file ./drivers/gpu/drm/radeon/radeon_irq_kms.c

and the whole friend group is in there too, all of them, in this exact order, do not come for me:

(and yes, radeon_irq_kms_disable_hpd(9) is literally right there. she's the opposite twin. the duality of woman πŸ’€)


lowkey reminder: this page ships out of ./drivers/gpu/drm/radeon, dated October 2026. that's the source, the version vibe, and the date, all in one. kiss kiss, go enable some hotplug interrupts, ily πŸ“πŸ’œπŸŒΈ
πŸ“¦ where this page comes from