1. NAME

drm_mode_config_init - initialize DRM mode_configuration structure

2. SYNOPSIS

void drm_mode_config_init(struct drm_device *  dev );

3. ARGUMENTS

dev
    DRM device

4. DESCRIPTION

Initialize devAqs 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 driverAqs problem to ensure this guarantee.

5. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

6. COPYRIGHT