drm_fb_helper_alloc_fbi
Prev | fbdev Helper Functions Reference | Next

## Name

drm_fb_helper_alloc_fbi — allocate fb_info and some of its members

## Synopsis

`struct fb_info * drm_fb_helper_alloc_fbi (` | struct drm_fb_helper * fb_helper`)`;

## Arguments

`fb_helper`

  driver-allocated fbdev helper

## Description

A helper to alloc fb_info and the members cmap and apertures. Called by the driver within the fb_probe fb_helper callback function.

## RETURNS

fb_info pointer if things went okay, pointer containing error code otherwise

Prev | Up | Next
drm_fb_helper_init | Home | drm_fb_helper_unregister_fbi