other versions
- jessie 3.16.56-1+deb8u1
DRM_DEV_ALLOC(9) | DRM Core | DRM_DEV_ALLOC(9) |
NAME¶
drm_dev_alloc - Allocate new DRM deviceSYNOPSIS¶
struct drm_device *
drm_dev_alloc(struct drm_driver * driver,
struct device * parent);
ARGUMENTS¶
driverDRM driver to allocate device for
parent
Parent device object
DESCRIPTION¶
Allocate and initialize a new DRM device. No device registration is done. Call drm_dev_register to advertice the device to user space and register it with other core subsystems. The initial ref-count of the object is 1. Use drm_dev_ref and drm_dev_unref to take and drop further ref-counts.RETURNS¶
Pointer to new DRM device, or NULL if out of memory.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |