]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
drm/tegra: don't set up initial fbcon config twice
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 20:56:20 +0000 (21:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Feb 2013 23:07:53 +0000 (00:07 +0100)
drm_fbdev_cma_init does the inital fbcon setup by calling down into
drm_fb_helper_initial_config, so no need at all to restore the just
set up configuration right away ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/tegra/fb.c

index 97993c6835fdd01207bf052306036bbbb0e69594..03914953cb1c059bcbe8f810564d4c5a10f28224 100644 (file)
@@ -39,10 +39,6 @@ int tegra_drm_fb_init(struct drm_device *drm)
        if (IS_ERR(fbdev))
                return PTR_ERR(fbdev);
 
-#ifndef CONFIG_FRAMEBUFFER_CONSOLE
-       drm_fbdev_cma_restore_mode(fbdev);
-#endif
-
        host1x->fbdev = fbdev;
 
        return 0;