drm_irq_install — install IRQ handler
int drm_irq_install ( | struct drm_device * dev, |
int irq) ; |
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.