carta
drm_property_add_enum(9)

drm_property_add_enum9

Add a possible value to an enumeration property

Arguments

property

enumeration property to change

index

index of the new enumeration

value

value of the new enumeration

name

symbolic name of the new enumeration

Overview

This functions adds enumerations to a property.

It's use is deprecated, drivers should use one of the more specific helpers to directly create the property with all enumerations already attached.

Returns

Zero on success, 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.