1. NAME▲

drm_mode_create - create a new display mode

2. SYNOPSIS ▲

struct drm_display_mode * drm_mode_create(struct drm_device *  dev );

3. ARGUMENTS ▲

dev
    DRM device

4. DESCRIPTION ▲

Create a new drm_display_mode, give it an ID, and return it.

5. RETURNS ▲

Pointer to new mode on success, NULL on error.

6. AUTHORS ▲

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

7. COPYRIGHT ▲