summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_plane.c
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-05 12:53:25 -0500
commit1071c9f3a8731e37e4e83d024519a44cd56a44f2 (patch)
treedd56aab0c9dbb188ae0089530179eef7d0013a0e /src/lib/ecore_drm2/ecore_drm2_plane.c
parent7628977fbf4e09fb5a4f39882216db300b426b5f (diff)
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.
Diffstat (limited to '')
-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)
132 132
133 plane->state->in_use = EINA_FALSE; 133 plane->state->in_use = EINA_FALSE;
134 plane->state->release = EINA_TRUE; 134 plane->state->release = EINA_TRUE;
135 _fb_atomic_flip_test(plane->output);
135} 136}
136 137
137EAPI void 138EAPI void