radeon_irq_kms_enable_afmt(9)
β¨ radeon_irq_kms_enable_afmt β¨
okay so bestie, welcome to the Kernel API Manual β this one's a tiny little function page and honestly? she's short but she EATS. let's get into it π
πΈ NAME πΈ
radeon_irq_kms_enable_afmt β enable audio format change interrupt
like literally that's her whole job. turning on the interrupt that fires when the audio format changes. one (1) function, one (1) purpose, zero drama π
π¦ SYNOPSIS π¦
void radeon_irq_kms_enable_afmt (struct radeon_device *rdev , int block
);
yes she returns void, so don't be out here expecting anything back. she does the thing and she leaves. silent queen behavior π
π ARGUMENTS π
rdevβ radeon device pointer. you know, the actual radeon device you're working with. your main character struct, if you will β¨blockβ afmt block whose interrupt you want to enable. which block bestie?? you gotta tell her. she's not a mind reader π
π₯ DESCRIPTION π₯
Enables the afmt change interrupt for a specific afmt block β and yes, that's all asics, no exceptions, no "oh but on this chip it's different" nonsense. universally she shows up for every asic in the lineup. we love a consistent icon π«Άπ
so you hand her a rdev and a block, and she flips on the afmt change interrupt for that specific block. that's it. that's the function. lowkey perfect, highkey iconic π
π SEE ALSO π
the whole friend group fr fr β go say hi to:
- Kernel file
./drivers/gpu/drm/radeon/radeon_irq_kms.c radeon_hotplug_work_func(9)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_disable_afmt(9)radeon_irq_kms_enable_hpd(9)radeon_irq_kms_disable_hpd(9)radeon_irq_kms_set_irq_n_enabled(9)
π and yeah, there's a radeon_irq_kms_disable_afmt(9) in there β she's the opposite of this function, the little chaos twin who turns the interrupt back off. dynamic duo energy ngl π
π that's the whole page bestie! this cutie lives under ./drivers/gpu/drm/radeon and this particular glow-up is dated October 2026 β thanks for reading, mwah, 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