SYNOPSIS

struct drm_display_mode * drm_mode_create(struct drm_device * dev);

ARGUMENTS

dev

DRM device

DESCRIPTION

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

COPYRIGHT