radeon_hotplug_work_func(9)
π 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:
radeon_driver_irq_preinstall_kms(9)radeon_driver_irq_postinstall_kms(9)radeon_driver_irq_uninstall_kms(9)radeon_msi_ok(9)radeon_irq_kms_init(9)radeon_irq_kms_fini(9)radeon_irq_kms_sw_irq_get(9)radeon_irq_kms_sw_irq_get_delayed(9)radeon_irq_kms_sw_irq_put(9)radeon_irq_kms_pflip_irq_get(9)radeon_irq_kms_pflip_irq_put(9)radeon_irq_kms_enable_afmt(9)radeon_irq_kms_disable_afmt(9)radeon_irq_kms_enable_hpd(9)radeon_irq_kms_disable_hpd(9)radeon_irq_kms_set_irq_n_enabled(9)
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
- 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