drm_mode_create
Prev | KMS API Functions | Next

## Name

drm_mode_create — 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.

Prev | Up | Next
drm_plane_force_disable | Home | drm_mode_destroy