Add a possible value to an enumeration property
int drm_property_add_enum(struct drm_property * property, int index, uint64_t value, const char * name);
property
enumeration property to change
index
index of the new enumeration
value
value of the new enumeration
name
symbolic name of the new enumeration
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.
Zero on success, error code on failure.
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