carta
drm_mode_duplicate(9)

drm_mode_duplicate9

Allocate and duplicate an existing mode

Arguments

dev

drm_device to allocate the duplicated mode for

mode

mode to duplicate

Overview

Just allocate a new mode, copy the existing mode into it, and return a pointer to it. Used to create new instances of established modes.

Returns

Pointer to duplicated 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.