summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-05-04 15:19:58 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-05-04 16:51:18 -0500
commit062260056253275b58ee0edf236db4547ffad99c (patch)
treedd56aab0c9dbb188ae0089530179eef7d0013a0e
parent86034cf107fd0c5a85b87e11e20e123662c7ae6a (diff)
downloadefl-062260056253275b58ee0edf236db4547ffad99c.tar.gz
ecore_drm2: Call flip test in plane release
If we don't do a flip test, the atomic state isn't updated. This fixes a potential problem where the last operation in state preparation is a release - the following commit wouldn't include state from the release.
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index cb765edc4b..aa07594873 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -132,6 +132,7 @@ ecore_drm2_plane_release(Ecore_Drm2_Plane *plane)
plane->state->in_use = EINA_FALSE;
plane->state->release = EINA_TRUE;
+ _fb_atomic_flip_test(plane->output);
}
EAPI void