derekf pushed a commit to branch master.

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

commit 05e8d76021642eb3a24cb98edc3f4c291e88188d
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Apr 21 16:37:18 2017 -0500

    ecore_drm2: Fix ticking when atomic mode set is enabled
    
    Putting the PAGE_FLIP_EVENT flag on the set rotation request resulted
    in an extra event on the drm device fd that screwed up page flipping
    badly from that point on.
    
    @fix
---
 src/lib/ecore_drm2/ecore_drm2_outputs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c 
b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index cc4f148..8eb87f4 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1588,7 +1588,7 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, 
int rotation)
         drmModeAtomicReq *req = NULL;
         int res = 0;
         uint32_t flags =
-          DRM_MODE_ATOMIC_NONBLOCK | DRM_MODE_PAGE_FLIP_EVENT |
+          DRM_MODE_ATOMIC_NONBLOCK |
           DRM_MODE_ATOMIC_ALLOW_MODESET;
 
         EINA_LIST_FOREACH(output->plane_states, l, pstate)

-- 


Reply via email to