drm_dev_set_unique(9) Set the unique name of a DRM device

SYNOPSIS

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

ARGUMENTS

dev

device of which to set the unique name

name

unique name

DESCRIPTION

Sets the unique name of a DRM device using the specified string. 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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT