projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d5f9c
)
Added hotplug ioctl
author
Jakob Bornecrantz
<jakob@tungstengraphics.com>
Thu, 7 Feb 2008 18:23:27 +0000
(19:23 +0100)
committer
Jakob Bornecrantz
<jakob@tungstengraphics.com>
Thu, 7 Feb 2008 18:23:27 +0000
(19:23 +0100)
shared-core/drm.h
patch
|
blob
|
history
diff --git
a/shared-core/drm.h
b/shared-core/drm.h
index
209a8db
..
0d7cfd2
100644
(file)
--- 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)
/*@}*/