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 T2791

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-11-05 08:59:37 -05:00
parent ae7a243c99
commit ff8b141f87
1 changed files with 0 additions and 7 deletions

View File

@ -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 */