<dec f='src/src/sys/external/bsd/drm2/dist/include/drm/drm_crtc.h' l='960' 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_values)'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc.c' l='3214' ll='3239' 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_values)'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc.c' l='3196'>/**
 * drm_property_create - create a new bitmask property type
 * @dev: drm device
 * @flags: flags specifying the property type
 * @name: name of the property
 * @props: enumeration lists with property bitflags
 * @num_values: number of pre-defined values
 *
 * This creates a new generic 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&apos;ed together combination of the predefined property bitflag values
 *
 * Returns:
 * A pointer to the newly created property on success, NULL on failure.
 */</doc>
