diff options
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index bfac5827c9b2..909f2bd9a597 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c | |||
@@ -299,11 +299,10 @@ static int tilcdc_irq_postinstall(struct drm_device *dev) | |||
299 | struct tilcdc_drm_private *priv = dev->dev_private; | 299 | struct tilcdc_drm_private *priv = dev->dev_private; |
300 | 300 | ||
301 | /* enable FIFO underflow irq: */ | 301 | /* enable FIFO underflow irq: */ |
302 | if (priv->rev == 1) { | 302 | if (priv->rev == 1) |
303 | tilcdc_set(dev, LCDC_RASTER_CTRL_REG, LCDC_V1_UNDERFLOW_INT_ENA); | 303 | tilcdc_set(dev, LCDC_RASTER_CTRL_REG, LCDC_V1_UNDERFLOW_INT_ENA); |
304 | } else { | 304 | else |
305 | tilcdc_set(dev, LCDC_INT_ENABLE_SET_REG, LCDC_V2_UNDERFLOW_INT_ENA); | 305 | tilcdc_set(dev, LCDC_INT_ENABLE_SET_REG, LCDC_V2_UNDERFLOW_INT_ENA); |
306 | } | ||
307 | 306 | ||
308 | return 0; | 307 | return 0; |
309 | } | 308 | } |