drm_helper_mode_fill_fb_struct(9)

drm_helper_mode_fill_fb_struct9

Fill out framebuffer metadata

Usage

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

Overview

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.