projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03cb02f
)
ecore-drm2: Free output atomic request on destruction
author
Chris Michael
<cp.michael@samsung.com>
Thu, 27 Apr 2017 13:10:43 +0000
(09:10 -0400)
committer
Derek Foreman
<derekf@osg.samsung.com>
Fri, 5 May 2017 17:53:20 +0000
(12:53 -0500)
When we free an output, make sure we cleanup any existing atomic
commit requests
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm2/ecore_drm2_outputs.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm2/ecore_drm2_outputs.c
b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index
c7e3b2b
..
27c0031
100644
(file)
--- a/
src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/
src/lib/ecore_drm2/ecore_drm2_outputs.c
@@
-895,6
+895,14
@@
_output_destroy(Ecore_Drm2_Device *dev, Ecore_Drm2_Output *output)
Ecore_Drm2_Plane *plane;
Ecore_Drm2_Plane_State *pstate;
+#ifdef HAVE_ATOMIC_DRM
+ if (_ecore_drm2_use_atomic)
+ {
+ if (output->atomic_req)
+ sym_drmModeAtomicFree(output->atomic_req);
+ }
+#endif
+
EINA_LIST_FREE(output->plane_states, pstate)
free(pstate);