Name
drm_fb_helper_restore_fbdev_mode_unlocked —
restore fbdev configuration
Arguments
fb_helper
fbcon to restore
Description
This should be called from driver's drm ->lastclose callback
when implementing an fbcon on top of kms using this helper. This ensures that
the user isn't greeted with a black screen when e.g. X dies.
RETURNS
Zero if everything went ok, negative error code otherwise.