Skip to content

Commit

Permalink
drm/armada: add IRQ support back
Browse files Browse the repository at this point in the history
Add IRQ support back so that vblank ioctls work again.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Oct 17, 2014
1 parent bfe01a5 commit 0544e38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/armada/armada_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ static int armada_drm_load(struct drm_device *dev, unsigned long flags)
if (ret)
goto err_comp;

dev->irq_enabled = true;
dev->vblank_disable_allowed = 1;

ret = armada_fbdev_init(dev);
Expand Down Expand Up @@ -330,7 +331,7 @@ static struct drm_driver armada_drm_driver = {
.desc = "Armada SoC DRM",
.date = "20120730",
.driver_features = DRIVER_GEM | DRIVER_MODESET |
DRIVER_PRIME,
DRIVER_HAVE_IRQ | DRIVER_PRIME,
.ioctls = armada_ioctls,
.fops = &armada_drm_fops,
};
Expand Down

0 comments on commit 0544e38

Please sign in to comment.