drm/tilcdc: Enable EOF interrupts for v1 LCDC
authorKarl Beldan <kbeldan@baylibre.com>
Tue, 23 Aug 2016 12:57:00 +0000 (12:57 +0000)
committerJyri Sarha <jsarha@ti.com>
Thu, 1 Sep 2016 19:30:12 +0000 (22:30 +0300)
This got accidentally dropped in the fixed commit and is required for
the driver to properly work on the rev1 IP, such as found on the LCDK.

Fixes: 2b2080d7e9ae ("drm/tilcdc: Get rid of complex ping-pong mechanism")
Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c

index 89d69169dada6a8e5d5f77b623519de0164357b7..163f111cd48117fdbb09a511cdfd0c99404e6559 100644 (file)
@@ -98,6 +98,8 @@ static void tilcdc_crtc_enable_irqs(struct drm_device *dev)
        if (priv->rev == 1) {
                tilcdc_set(dev, LCDC_RASTER_CTRL_REG,
                        LCDC_V1_UNDERFLOW_INT_ENA);
+               tilcdc_set(dev, LCDC_DMA_CTRL_REG,
+                       LCDC_V1_END_OF_FRAME_INT_ENA);
        } else {
                tilcdc_write(dev, LCDC_INT_ENABLE_SET_REG,
                        LCDC_V2_UNDERFLOW_INT_ENA |