drm: rcar-du: Remove drm_fbdev_cma_restore_mode() call at init time
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 20 Feb 2015 20:35:52 +0000 (22:35 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:01 +0000 (16:16 +0200)
The function is meant to restore the fbdev mode in the lastclose
handler, not to be called at init time. Remove the call.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_kms.c

index 1ea2c1e9cb79a9fe88cedaf14805f334dd647072..aebbcde82ddf835ab76aeeddb53ee4f42eeeb914 100644 (file)
@@ -453,10 +453,6 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu)
        if (IS_ERR(fbdev))
                return PTR_ERR(fbdev);
 
-#ifndef CONFIG_FRAMEBUFFER_CONSOLE
-       drm_fbdev_cma_restore_mode(fbdev);
-#endif
-
        rcdu->fbdev = fbdev;
 
        return 0;