aboutsummaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.c
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/xf86drmMode.c
parent13948c635d83285909e25ffd5285165789a598b2 (diff)
mode: Remove hotplug support from ioctl interface
Diffstat (limited to 'libdrm/xf86drmMode.c')
-rw-r--r--libdrm/xf86drmMode.c9
1 files changed, 0 insertions, 9 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)