diff options
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 4 | ||||
-rw-r--r-- | include/drm/drm_mode.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index b88b28f45f9e..9b33629e654c 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -933,6 +933,10 @@ extern struct drm_property *drm_property_create_enum(struct drm_device *dev, int | |||
933 | const char *name, | 933 | const char *name, |
934 | const struct drm_prop_enum_list *props, | 934 | const struct drm_prop_enum_list *props, |
935 | int num_values); | 935 | int num_values); |
936 | struct drm_property *drm_property_create_bitmask(struct drm_device *dev, | ||
937 | int flags, const char *name, | ||
938 | const struct drm_prop_enum_list *props, | ||
939 | int num_values); | ||
936 | struct drm_property *drm_property_create_range(struct drm_device *dev, int flags, | 940 | struct drm_property *drm_property_create_range(struct drm_device *dev, int flags, |
937 | const char *name, | 941 | const char *name, |
938 | uint64_t min, uint64_t max); | 942 | uint64_t min, uint64_t max); |
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 326f2be0d497..5581980b14f6 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h | |||
@@ -230,6 +230,7 @@ struct drm_mode_get_connector { | |||
230 | #define DRM_MODE_PROP_IMMUTABLE (1<<2) | 230 | #define DRM_MODE_PROP_IMMUTABLE (1<<2) |
231 | #define DRM_MODE_PROP_ENUM (1<<3) /* enumerated type with text strings */ | 231 | #define DRM_MODE_PROP_ENUM (1<<3) /* enumerated type with text strings */ |
232 | #define DRM_MODE_PROP_BLOB (1<<4) | 232 | #define DRM_MODE_PROP_BLOB (1<<4) |
233 | #define DRM_MODE_PROP_BITMASK (1<<5) /* bitmask of enumerated types */ | ||
233 | 234 | ||
234 | struct drm_mode_property_enum { | 235 | struct drm_mode_property_enum { |
235 | __u64 value; | 236 | __u64 value; |