drm_dev_register(9)

drm_dev_register9

Register drm device

Usage

int drm_dev_register(struct drm_device * dev, unsigned long flags);

Arguments

dev

Device to register

flags

Flags passed to the driver's .load function

Overview

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!

Returns

0 on success, negative error code on failure.

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.