From 34b76e0fac579e4afd269ebd3cbcbdd0416ec944 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Thu, 7 Feb 2008 19:23:27 +0100 Subject: Added hotplug ioctl --- shared-core/drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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) /*@}*/ -- cgit v1.2.3