ecore_drm2: Fix ticking when atomic mode set is enabled
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 21 Apr 2017 21:37:18 +0000 (16:37 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 21 Apr 2017 21:39:19 +0000 (16:39 -0500)
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

index cc4f148..8eb87f4 100644 (file)
@@ -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)