diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-11-14 16:39:03 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2016-11-14 16:39:03 -0600 |
commit | 8368f6e1d269fb19781ed00d7bba636a703512df (patch) | |
tree | 18186fd13ea8818cbe1c04083b75c3ef4c727059 | |
parent | 20f52cd60703d8e3fc1496117a2c8cf9119b6284 (diff) | |
download | efl-8368f6e1d269fb19781ed00d7bba636a703512df.tar.gz |
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.
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_fb.c | 7 |
1 files 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 = |