radeon_hotplug_work_func(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– radeon_hotplug_work_func(9) πŸ’–

okay so bestie, we're in the Kernel API Manual, section 9, and the star of the show is radeon_hotplug_work_func(9) β€” the display hotplug work handler. yes that's a lot of words, we'll get there 🫢


✨ NAME ✨

radeon_hotplug_work_func β€” display hotplug work handler πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void radeon_hotplug_work_func (struct work_struct *work );

🌸 ARGUMENTS 🌸

  • work β€” the work struct. that's it, that's the whole arg, she's lowkey simple like that ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: something gets plugged in (or unplugged β€” dramatic either way πŸ’€), and this function is the hot plug event work handler. and yes, it does this for all asics, no cap, every single one 🫢

the way it works is: the work gets scheduled straight from the irq handler whenever there was a hot plug interrupt. so the irq handler doesn't do the whole thing itself, it just goes "hey, radeon_hotplug_work_func, you're up" and hands it off 🎀

then our girl walks the connector table β€” like, actually goes through it, one by one β€” and calls the hotplug handler for each one. every connector gets her attention, nobody's left on read πŸ’…

and then, the finale: she sends a drm hotplug event to alert userspace. like, "bestie wake up, something changed" πŸ”₯ main character energy fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file for this one lives at ./drivers/gpu/drm/radeon/radeon_irq_kms.c β€” cute, right? πŸŽ€

and here's the whole friend group, go say hi:


ngl that's a lot of SEE ALSOs but she knows everyone, it's giving connected πŸ’€πŸ’–

okay that's the whole page bestie, ily, go read some kernel source 🌈⭐

this one came out of ./drivers/gpu/drm/radeon β€” dated October 2026 β€” and it's filed under radeon_hotplug_work_func(9), periodt πŸ’…πŸŽ€πŸ’œ

πŸ“¦ where this page comes from