amdgpu_irq_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 fr
  • src β€” interrupt source pointer 🌈 which source we're peeking at
  • type β€” 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 πŸ”₯

  • true if interrupt is enabled πŸ’– slay, it's on
  • false if 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