drm: omapdrm: Handle FIFO underflow IRQs internally

As the FIFO underflow IRQ handler just prints an error message to the
kernel log, simplify the code by not registering one IRQ handler per
plane but print the messages directly from the main IRQ handler.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Laurent Pinchart
2015-05-28 00:21:29 +03:00
parent a078a3ddc7
commit 728ae8dd69
4 changed files with 67 additions and 30 deletions

View File

@@ -315,8 +315,6 @@ static int omap_modeset_init(struct drm_device *dev)
drm_mode_config_init(dev);
omap_drm_irq_install(dev);
ret = omap_modeset_init_properties(dev);
if (ret < 0)
return ret;
@@ -489,6 +487,8 @@ static int omap_modeset_init(struct drm_device *dev)
drm_mode_config_reset(dev);
omap_drm_irq_install(dev);
return 0;
}