drm_fb_helper_restore_fbdev_mode_unlocked(9) restore fbdev configuration

SYNOPSIS

int drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper * fb_helper);

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.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT