derekf pushed a commit to branch master.

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

commit 8368f6e1d269fb19781ed00d7bba636a703512df
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Mon Nov 14 16:39:03 2016 -0600

    ecore_drm2: Follow direct crtc sets with a page flip
    
    Now that the bugs generating extra ticks are fixed, we need to make sure
    we can actually generate one here.
---
 src/lib/ecore_drm2/ecore_drm2_fb.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c 
b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 7142ab1..149bb75 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -412,8 +412,11 @@ ecore_drm2_fb_flip(Ecore_Drm2_Fb *fb, Ecore_Drm2_Output 
*output)
              output->current = fb;
              output->current->busy = EINA_TRUE;
              output->next = NULL;
-
-             return 0;
+             /* We used to return here, but now that the ticker is fixed this
+              * can leave us hanging waiting for a tick to happen forever.
+              * Instead, we now fall through the the flip path to make sure
+              * even this first set can cause a flip callback.
+              */
           }
 
         ret =

-- 


Reply via email to