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, cleared drm_display_mode with kzalloc, allocate an ID for it and return it.

Returns

Pointer to new mode on success, NULL on error.