summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-11-12 18:40:04 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-11-12 18:40:04 +0100
commit1ead45c8f02e7c51cfe977383726d20479385688 (patch)
tree70adf739fa7dc10653b266dc542fb65e0ee82086 /shared-core
parent13948c635d83285909e25ffd5285165789a598b2 (diff)
mode: Remove hotplug support from ioctl interface
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h33
-rw-r--r--shared-core/drm_mode.h7
2 files changed, 0 insertions, 40 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 42dad492..cc6aead4 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -555,37 +555,6 @@ union drm_wait_vblank {
struct drm_wait_vblank_reply reply;
};
-/* Handle monitor hotplug.
- *
- * May want to extend this later to pass reply information which
- * details the connectors which generated the hotplug event.
- * Some chipsets can't determine that though, and we'd need to leave
- * it to the higher levels to determine exactly what changed.
- */
-enum drm_hotplug_seq_type {
- _DRM_HOTPLUG_SIGNAL = 0x00000001, /**< Send signal instead of blocking */
-};
-struct drm_wait_hotplug_request {
- enum drm_hotplug_seq_type type;
- unsigned long signal;
-};
-
-struct drm_wait_hotplug_reply {
- enum drm_hotplug_seq_type type;
- unsigned int counter;
- long tval_sec;
- long tval_usec;
-};
-
-/**
- * DRM_IOCTL_WAIT_HOTPLUG ioctl argument type.
- *
- * \sa drmWaitHotplug().
- */
-union drm_wait_hotplug {
- struct drm_wait_hotplug_request request;
- struct drm_wait_hotplug_reply reply;
-};
enum drm_modeset_ctl_cmd {
_DRM_PRE_MODESET = 1,
@@ -792,8 +761,6 @@ struct drm_gem_open {
#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)
-#define DRM_IOCTL_WAIT_HOTPLUG DRM_IOWR(0xAE, union drm_wait_hotplug)
#define DRM_IOCTL_MODE_REPLACEFB DRM_IOWR(0xAF, struct drm_mode_fb_cmd)
#define DRM_IOCTL_MODE_GETENCODER DRM_IOWR(0xB0, struct drm_mode_get_encoder)
diff --git a/shared-core/drm_mode.h b/shared-core/drm_mode.h
index f44c9a0d..6b1abd5b 100644
--- a/shared-core/drm_mode.h
+++ b/shared-core/drm_mode.h
@@ -258,13 +258,6 @@ struct drm_mode_cursor {
uint32_t handle;
};
-/*
- * oh so ugly hotplug
- */
-struct drm_mode_hotplug {
- uint32_t counter;
-};
-
struct drm_mode_crtc_lut {
uint32_t crtc_id;
uint32_t gamma_size;