Skip to content

Commit

Permalink
drm/tilcdc: Enable EOF interrupts for v1 LCDC
Browse files Browse the repository at this point in the history
commit 8d6c3f7 upstream.

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: 2b2080d ("drm/tilcdc: Get rid of complex ping-pong mechanism")
Signed-off-by: Karl Beldan <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
  • Loading branch information
Karl Beldan authored and Jyri Sarha committed Sep 2, 2016
1 parent d8ff0c6 commit dccd567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/tilcdc/tilcdc_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit dccd567

Please sign in to comment.