drm_dev_register — Register DRM device
int drm_dev_register ( | struct drm_device * dev, |
unsigned long flags) ; |
Register the DRM device dev
with the system, advertise device to user-space
and start normal device operation. dev
must be allocated via drm_dev_alloc
previously.
Never call this twice on any device!
To ensure backward compatibility with existing drivers method this
function calls the ->load
method after registering the device nodes,
creating race conditions. Usage of the ->load
methods is therefore
deprecated, drivers must perform all initialization before calling
drm_dev_register
.