summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-09-07 22:24:45 -0500
committerDerek Foreman <derekf@osg.samsung.com>2016-09-08 13:55:24 -0500
commitb4cbf860b9d483f7ad7a50c672a000927cb2b39f (patch)
treecccd5c6310f0b41a85815d25e8e8c857c216c6f2 /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parent33043ff1ebb78aee92700459cda70745bedcaeb6 (diff)
ecore_drm2: Add a page flip completion call
Add a function for ecore_evas_drm to call after a page flip happens so ecore_drm2 can track busy status for fbs itself (including for the fb that's currently being flipped to scanout) Also, call the completion function from ecore_evas_drm
Diffstat (limited to 'src/modules/ecore_evas/engines/drm/ecore_evas_drm.c')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 9b456b7a53..90a3444f37 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -639,6 +639,8 @@ _cb_pageflip(int fd EINA_UNUSED, unsigned int frame EINA_UNUSED, unsigned int se
639 ee = data; 639 ee = data;
640 edata = ee->engine.data; 640 edata = ee->engine.data;
641 641
642 ecore_drm2_fb_flip_complete(edata->output);
643
642 next = ecore_drm2_output_next_fb_get(edata->output); 644 next = ecore_drm2_output_next_fb_get(edata->output);
643 if (next) 645 if (next)
644 { 646 {