- int drm_irq_install(struct drm_device * dev, int irq);
- DRM device
- IRQ number to install the handler for
Initializes the IRQ related data. Installs the handler, calling the driver irq_preinstall and irq_postinstall functions before and after the installation.
This is the simplified helper interface provided for drivers with no special needs. Drivers which need to install interrupt handlers for multiple interrupts must instead set drm_device->irq_enabled to signal the DRM core that vblank interrupts are available.
Zero on success or a negative error code on failure.
Jesse Barnes <[email protected]>
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation