aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
-rw-r--r--drivers/gpu/drm/msm/msm_drv.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index c071aacf2752..0d2562fb681e 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -386,11 +386,8 @@ static void msm_preclose(struct drm_device *dev, struct drm_file *file)
386static void msm_lastclose(struct drm_device *dev) 386static void msm_lastclose(struct drm_device *dev)
387{ 387{
388 struct msm_drm_private *priv = dev->dev_private; 388 struct msm_drm_private *priv = dev->dev_private;
389 if (priv->fbdev) { 389 if (priv->fbdev)
390 drm_modeset_lock_all(dev); 390 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev);
391 drm_fb_helper_restore_fbdev_mode(priv->fbdev);
392 drm_modeset_unlock_all(dev);
393 }
394} 391}
395 392
396static irqreturn_t msm_irq(int irq, void *arg) 393static irqreturn_t msm_irq(int irq, void *arg)