aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-05 08:59:37 -0500
committerChris Michael <cp.michael@samsung.com>2015-11-05 09:01:36 -0500
commitff8b141f87d350c134356c38a924f4eb4fe1ea23 (patch)
tree7afc55be349b37df2748655e7ede650e5195c8d0 /src/lib/ecore_drm
parentecore-drm: Fix issue of duplicate page flips (diff)
downloadefl-ff8b141f87d350c134356c38a924f4eb4fe1ea23.tar.gz
ecore-drm: Fix issue of hanging in read()
Summary: As we already call drmHandleEvent when we pageflip, we don't need to be using an fd handler to catch them. This should fix https://phab.enlightenment.org/T2791 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index 1e7c5f8edb..128561441b 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -340,10 +340,6 @@ ecore_drm_device_open(Ecore_Drm_Device *dev)
eeze_udev_watch_add(EEZE_UDEV_TYPE_DRM, events,
_ecore_drm_device_cb_output_event, dev);
- dev->drm.hdlr =
- ecore_main_fd_handler_add(dev->drm.fd, ECORE_FD_READ,
- _ecore_drm_device_cb_event, dev, NULL, NULL);
-
/* dev->drm.idler = */
/* ecore_idle_enterer_add(_ecore_drm_device_cb_idle, dev); */
@@ -362,9 +358,6 @@ ecore_drm_device_close(Ecore_Drm_Device *dev)
/* close xkb context */
if (dev->xkb_ctx) xkb_context_unref(dev->xkb_ctx);
- if (dev->drm.hdlr) ecore_main_fd_handler_del(dev->drm.hdlr);
- dev->drm.hdlr = NULL;
-
_ecore_drm_launcher_device_close(dev->drm.name, dev->drm.fd);
/* reset device fd */