summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2012-09-13 05:22:31 +0200
committerDave Airlie <airlied@redhat.com>2014-06-04 05:23:11 +0200
commitebc44cf386734374983922c6fc1ae8ac47f88bef (patch)
tree84ce7743bac2ee1b2be5727792e65348a3499766 /include/uapi/drm
parentdrm: add object property type (diff)
downloadlinux-ebc44cf386734374983922c6fc1ae8ac47f88bef.tar.xz
linux-ebc44cf386734374983922c6fc1ae8ac47f88bef.zip
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 57f46348befe..def54f9e07ca 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;