drm_platform_init(9)

drm_platform_init9

Register a platform device with the drm subsystem

Usage

int drm_platform_init(struct drm_driver * driver, struct platform_device * platform_device);

Arguments

driver

DRM device driver

platform_device

platform device to register

Overview

Registers the specified DRM device driver and platform device with the DRM subsystem, initializing a drm_device structure and calling the driver's .load function.

Return

0 on success or a 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.