diff options
author | Rob Clark <robdclark@gmail.com> | 2014-05-30 11:37:03 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 13:23:03 +1000 |
commit | 98f75de40e9d83c3a90d294b8fd25fa2874212a9 (patch) | |
tree | a171ce5ec5c68c94d650e469f3cb3ec5e091006a /include/uapi | |
parent | 5ea22f24d77b511d68c4ecaf4e6fd5d6ab462b8f (diff) |
drm: add object property type
An object property is an id (idr) for a drm mode object. This
will allow a property to be used set/get a framebuffer, CRTC, etc.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/drm_mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index caeaa6f7ebd..57f46348bef 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -264,6 +264,7 @@ struct drm_mode_get_connector { */ #define DRM_MODE_PROP_EXTENDED_TYPE 0x0000ffc0 #define DRM_MODE_PROP_TYPE(n) ((n) << 6) +#define DRM_MODE_PROP_OBJECT DRM_MODE_PROP_TYPE(1) struct drm_mode_property_enum { __u64 value; |