summaryrefslogtreecommitdiff
path: root/libdrm
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 /libdrm
parent13948c635d83285909e25ffd5285165789a598b2 (diff)
mode: Remove hotplug support from ioctl interface
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drmMode.c9
-rw-r--r--libdrm/xf86drmMode.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c
index a25b11bb..38fdbc11 100644
--- a/libdrm/xf86drmMode.c
+++ b/libdrm/xf86drmMode.c
@@ -183,15 +183,6 @@ err_allocs:
return r;
}
-uint32_t drmModeGetHotplug(int fd)
-{
- struct drm_mode_hotplug arg;
- arg.counter = 0;
-
- ioctl(fd, DRM_IOCTL_MODE_HOTPLUG, &arg);
- return arg.counter;
-}
-
int drmModeAddFB(int fd, uint32_t width, uint32_t height, uint8_t depth,
uint8_t bpp, uint32_t pitch, uint32_t bo_handle,
uint32_t *buf_id)
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index 59612a94..ee45717b 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -158,11 +158,6 @@ extern void drmModeFreeEncoder( drmModeEncoderPtr ptr );
*/
extern drmModeResPtr drmModeGetResources(int fd);
-/**
- * Retrives the hotplug counter
- */
-extern uint32_t drmModeGetHotplug(int fd);
-
/*
* FrameBuffer manipulation.
*/