drm_mode_create(9) create a new display mode

SYNOPSIS

struct drm_display_mode * drm_mode_create(struct drm_device * dev);

ARGUMENTS

dev

DRM device

DESCRIPTION

Create a new drm_display_mode, give it an ID, 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

COPYRIGHT