SYNOPSIS

void drm_helper_mode_fill_fb_struct(struct drm_framebuffer * fb, struct drm_mode_fb_cmd2 * mode_cmd);

ARGUMENTS

fb

drm_framebuffer object to fill out

mode_cmd

metadata from the userspace fb creation request

DESCRIPTION

This helper can be used in a drivers fb_create callback to pre-fill the fb's metadata fields.

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

COPYRIGHT