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.