summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-02-07 19:23:27 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-02-07 19:23:27 +0100
commit34b76e0fac579e4afd269ebd3cbcbdd0416ec944 (patch)
tree6751f36619e5358c09b93584aeb15acc06daccbf
parent87d5f9cb2d2812c1da726e38965f0eb78c2b8dfa (diff)
Added hotplug ioctl
-rw-r--r--shared-core/drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 209a8db0..0d7cfd25 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -1111,6 +1111,13 @@ struct drm_mode_cursor {
unsigned int handle;
};
+/*
+ * oh so ugly hotplug
+ */
+struct drm_mode_hotplug {
+ uint32_t counter;
+};
+
/**
* \name Ioctls Definitions
*/
@@ -1218,6 +1225,7 @@ struct drm_mode_cursor {
#define DRM_IOCTL_MODE_GETPROPERTY DRM_IOWR(0xAB, struct drm_mode_get_property)
#define DRM_IOCTL_MODE_CURSOR DRM_IOWR(0xAC, struct drm_mode_cursor)
+#define DRM_IOCTL_MODE_HOTPLUG DRM_IOWR(0xAD, struct drm_mode_hotplug)
/*@}*/