drm_put_dev(9) Unregister and release a DRM device

SYNOPSIS

void drm_put_dev(struct drm_device * dev);

ARGUMENTS

dev

DRM device

DESCRIPTION

Called at module unload time or when a PCI device is unplugged.

Cleans up all DRM device, calling drm_lastclose.

NOTE

Use of this function is deprecated. It will eventually go away completely. Please use drm_dev_unregister and drm_dev_unref explicitly instead to make sure that the device isn't userspace accessible any more while teardown is in progress, ensuring that userspace can't access an inconsistent state.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT