Commit df78222d authored by Laurent Pinchart's avatar Laurent Pinchart

drm: rcar-du: Remove drm_fbdev_cma_restore_mode() call at init time

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent 0e211da8
...@@ -453,10 +453,6 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu) ...@@ -453,10 +453,6 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu)
if (IS_ERR(fbdev)) if (IS_ERR(fbdev))
return PTR_ERR(fbdev); return PTR_ERR(fbdev);
#ifndef CONFIG_FRAMEBUFFER_CONSOLE
drm_fbdev_cma_restore_mode(fbdev);
#endif
rcdu->fbdev = fbdev; rcdu->fbdev = fbdev;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment