From 8368f6e1d269fb19781ed00d7bba636a703512df Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 14 Nov 2016 16:39:03 -0600 Subject: [PATCH] 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 7142ab135a..149bb75beb 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 =