carta
drm_mode_create(9)

drm_mode_create9

Create a new display mode

Usage

struct drm_display_mode * drm_mode_create(struct drm_device * dev);

Arguments

dev

DRM device

Overview

Create a new, cleared drm_display_mode with kzalloc, allocate an ID for it and return it.

Returns

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