Name
drm_helper_mode_fill_fb_struct —
fill out framebuffer metadata
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.