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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user