amdgpu_irq_enabled(9)
π amdgpu_irq_enabled(9) π
okay bestie, welcome to the Kernel API Manual β this little page is all about amdgpu_irq_enabled, and honestly? it's giving "tiny function, big responsibility" β¨
πΈ NAME πΈ
amdgpu_irq_enabled β check whether interrupt is enabled or not π
like, is it on or is it off, that's the whole gig π
π¦ SYNOPSIS π¦
bool amdgpu_irq_enabled (struct amdgpu_device *adev , struct
amdgpu_irq_src *src , unsigned int type );
that's the whole signature, no cap π«Ά
β¨ ARGUMENTS β¨
adevβ amdgpu device pointer π the main character device, fr frsrcβ interrupt source pointer π which source we're peeking attypeβ type of interrupt π the specific flavour of interrupt you're asking about
π DESCRIPTION π
Checks whether the given type of interrupt is enabled on the given source. π΅οΈββοΈβ¨
that's it. that's the function. it goes "hey src, is type enabled?" and reports back. lowkey iconic for how simple it is π
π₯ RETURN π₯
trueif interrupt is enabled π slay, it's onfalseif interrupt is disabled or on invalid parameters π nope, off β or you handed it something bad and it's just politely saying no
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c πΈ
Interrupt Handling(9), amdgpu_irq_disable_all(9), amdgpu_irq_handler(9), amdgpu_irq_handle_ih1(9), amdgpu_irq_handle_ih2(9), amdgpu_irq_handle_ih_soft(9), amdgpu_msi_ok(9), amdgpu_irq_init(9), amdgpu_irq_fini_sw(9), amdgpu_irq_add_id(9), amdgpu_irq_dispatch(9), amdgpu_irq_delegate(9), amdgpu_irq_update(9), amdgpu_irq_gpu_reset_resume_helper(9), amdgpu_irq_get(9), amdgpu_irq_put(9), amdgpu_irqdomain_map(9), amdgpu_irq_add_domain(9), amdgpu_irq_remove_domain(9), amdgpu_irq_create_mapping(9)
like, the whole irq friend group π«Ά go read them too, iykyk π¦
and that's the page!! π
this one lives over in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's amdgpu_irq_enabled(9) β periodt. go forth and check those interrupts, bestie πβπ§
π¦ 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