summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2012-09-12 22:22:31 -0500
committerDave Airlie <airlied@redhat.com>2014-06-04 13:23:11 +1000
commitebc44cf386734374983922c6fc1ae8ac47f88bef (patch)
tree84ce7743bac2ee1b2be5727792e65348a3499766 /include/uapi/drm
parent98f75de40e9d83c3a90d294b8fd25fa2874212a9 (diff)
downloadop-kernel-dev-ebc44cf386734374983922c6fc1ae8ac47f88bef.zip
op-kernel-dev-ebc44cf386734374983922c6fc1ae8ac47f88bef.tar.gz
drm: add signed-range property type
Like range, but values are signed. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/drm_mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 57f4634..def54f9 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -265,6 +265,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)
+#define DRM_MODE_PROP_SIGNED_RANGE DRM_MODE_PROP_TYPE(2)
struct drm_mode_property_enum {
__u64 value;
OpenPOWER on IntegriCloud