devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ff8b141f87d350c134356c38a924f4eb4fe1ea23

commit ff8b141f87d350c134356c38a924f4eb4fe1ea23
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Nov 5 08:59:37 2015 -0500

    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.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_device.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_device.c 
b/src/lib/ecore_drm/ecore_drm_device.c
index 1e7c5f8..1285614 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 */

-- 


Reply via email to