summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
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.
*/