summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-09-02 15:24:24 -0500
committerDerek Foreman <derekf@osg.samsung.com>2016-09-08 13:55:23 -0500
commitce7991b9934d469419d3a3982d30329184cc287e (patch)
treed6aa73dbe5bb452496c6c34d1443d7675c5c9002 /src/modules/ecore_evas/engines/drm
parent794798f55906d3704955ac3f108340eafdb06256 (diff)
ecore_drm2: Implicitly set buffer busy status when flipping
This simplifies other code that shouldn't need to deal with this.
Diffstat (limited to 'src/modules/ecore_evas/engines/drm')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c5
1 files changed, 1 insertions, 4 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 e53ffdab81..9b456b7a53 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -634,14 +634,11 @@ _cb_pageflip(int fd EINA_UNUSED, unsigned int frame EINA_UNUSED, unsigned int se
634{ 634{
635 Ecore_Evas *ee; 635 Ecore_Evas *ee;
636 Ecore_Evas_Engine_Drm_Data *edata; 636 Ecore_Evas_Engine_Drm_Data *edata;
637 Ecore_Drm2_Fb *current, *next; 637 Ecore_Drm2_Fb *next;
638 638
639 ee = data; 639 ee = data;
640 edata = ee->engine.data; 640 edata = ee->engine.data;
641 641
642 current = ecore_drm2_output_current_fb_get(edata->output);
643 if (current) ecore_drm2_fb_busy_set(current, EINA_FALSE);
644
645 next = ecore_drm2_output_next_fb_get(edata->output); 642 next = ecore_drm2_output_next_fb_get(edata->output);
646 if (next) 643 if (next)
647 { 644 {