---
name: "drm_mode_config_init"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_mode_config_init"
---

# drm\_mode\_config\_init(9)

initialize DRM mode\_configuration structure

## NAME

drm\_mode\_config\_init - initialize DRM mode\_configuration structure

## SYNOPSIS

**void drm\_mode\_config\_init(struct drm\_device \*** *dev***);**

## ARGUMENTS

*dev*

DRM device

## DESCRIPTION

Initialize *dev*'s mode\_config structure, used for tracking the graphics configuration of *dev*.

Since this initializes the modeset locks, no locking is possible. Which is no problem, since this should happen single threaded at init time. It is the driver's problem to ensure this guarantee.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
