drm_dev_unregister(9) Unregister DRM device

SYNOPSIS

void drm_dev_unregister(struct drm_device * dev);

ARGUMENTS

dev

Device to unregister

DESCRIPTION

Unregister the DRM device from the system. This does the reverse of drm_dev_register but does not deallocate the device. The caller must call drm_dev_unref to drop their final reference.

This should be called first in the device teardown code to make sure userspace can't access the device instance any more.

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