---
name: "drm_fb_helper_restore_fbdev_mode_unlocked"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_fb_helper_restore_fbdev_mode_unlocked"
---

# drm\_fb\_helper\_restore\_fbdev\_mode\_unlocked(9)

restore fbdev configuration

## NAME

drm\_fb\_helper\_restore\_fbdev\_mode\_unlocked - restore fbdev configuration

## SYNOPSIS

**bool 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.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
