drm_mode_create_from_cmdline_mode(9)

drm_mode_create_from_cmdline_mode9

Convert a command line modeline into a drm display mode

Usage

struct drm_display_mode * drm_mode_create_from_cmdline_mode(struct drm_device * dev, struct drm_cmdline_mode * cmd);

Arguments

dev

DRM device to create the new mode for

cmd

input command line modeline

Returns

Pointer to converted mode on success, NULL on error.

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.