1. NAME▲

drm_mode_config_cleanup - free up DRM mode_config info

2. SYNOPSIS ▲

void drm_mode_config_cleanup(struct drm_device *  dev );

3. ARGUMENTS ▲

dev
    DRM device

4. DESCRIPTION ▲

Free up all the connectors and CRTCs associated with this DRM device, then free up the framebuffers and associated buffer objects.

Note that since this /should/ happen single-threaded at driver/device teardown time, no locking is required. ItAqs the driverAqs job to ensure that this guarantee actually holds true.

5. FIXME ▲

cleanup any dangling user buffer objects too

6. AUTHORS ▲

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

7. COPYRIGHT ▲