summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_fb.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-04-28 12:23:28 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-05-05 12:53:23 -0500
commitba4d41ff638389c48a49dcafee8fa0e37635c23d (patch)
tree3b72e47ab0dbd7824c768c88346ff24cfaab566d /src/lib/ecore_drm2/ecore_drm2_fb.c
parentb902ef7c69443a54f64fedcdd07f7a3e0e2fb4fe (diff)
ecore_drm2: Handle atomic state in _release_buffer
Further merging of atomic and non-atomic paths
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 462f41b554..0228156356 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -214,6 +214,11 @@ _release_buffer(Ecore_Drm2_Output *output, Ecore_Drm2_Output_State *s)
214 s->fb->busy = EINA_FALSE; 214 s->fb->busy = EINA_FALSE;
215 if (output->release_cb) output->release_cb(output->release_data, s->fb); 215 if (output->release_cb) output->release_cb(output->release_data, s->fb);
216 s->fb = NULL; 216 s->fb = NULL;
217#ifdef HAVE_ATOMIC_DRM
218 if (s->atomic_req)
219 sym_drmModeAtomicFree(s->atomic_req);
220 s->atomic_req = NULL;
221#endif
217} 222}
218 223
219EAPI Eina_Bool 224EAPI Eina_Bool