drm_dev_set_unique(9)

drm_dev_set_unique9

Set the unique name of a drm device

Usage

int drm_dev_set_unique(struct drm_device * dev, const char * fmt, ...);

Arguments

dev

device of which to set the unique name

fmt

format string for unique name

...

variable arguments

Overview

Sets the unique name of a DRM device using the specified format string and a variable list of arguments. Drivers can use this at driver probe time if the unique name of the devices they drive is static.

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.