---
name: "drm_fb_helper_fill_var"
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_fill_var"
---

# drm\_fb\_helper\_fill\_var(9)

initalizes variable fbdev information

## NAME

drm\_fb\_helper\_fill\_var - initalizes variable fbdev information

## SYNOPSIS

**void drm\_fb\_helper\_fill\_var(struct fb\_info \*** *info***, struct drm\_fb\_helper \*** *fb\_helper***, uint32\_t** *fb\_width***, uint32\_t** *fb\_height***);**

## ARGUMENTS

*info*

fbdev instance to set up

*fb\_helper*

fb helper instance to use as template

*fb\_width*

desired fb width

*fb\_height*

desired fb height

## DESCRIPTION

Sets up the variable fbdev metainformation from the given fb helper instance and the drm framebuffer allocated in fb\_helper-\>fb.

Drivers should call this (or their equivalent setup code) from their -\>fb\_probe callback after having allocated the fbdev backing storage framebuffer.

## 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
