drm_property_create_bitmask — create a new bitmask property type
| struct drm_property * drm_property_create_bitmask ( | struct drm_device * dev, | 
| int flags, | |
| const char * name, | |
| const struct drm_prop_enum_list * props, | |
| int num_props, | |
| uint64_t supported_bits ); | 
devdrm device
flagsflags specifying the property type
namename of the property
propsenumeration lists with property bitflags
num_props
     size of the props array
    
supported_bitsbitmask of all supported enumeration values
This creates a new bitmask drm property which can then be attached to a drm object with drm_object_attach_property. The returned property object must be freed with drm_property_destroy.
Compared to plain enumeration properties userspace is allowed to set any or'ed together combination of the predefined property bitflag values