1. NAME

drm_fb_helper_fill_var - initalizes variable fbdev information

2. 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 );

3. 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

4. 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.

5. AUTHORS

Jesse Barnes < >
Intel Corporation,
    Initial version

Laurent Pinchart < >
Ideas on board SPRL,
    Driver internals

6. COPYRIGHT