devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=f2a0e5ae4cc1c946eb83fe6b9fe9b702f3ef1acf
commit f2a0e5ae4cc1c946eb83fe6b9fe9b702f3ef1acf Author: Chris Michael <cp.mich...@samsung.com> Date: Tue May 30 15:56:51 2017 -0400 ecore-drm2: Minor formatting fix NB: No functional changes Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore_drm2/ecore_drm2_plane.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c index a75173bcfc..323cc9d0cf 100644 --- a/src/lib/ecore_drm2/ecore_drm2_plane.c +++ b/src/lib/ecore_drm2/ecore_drm2_plane.c @@ -133,8 +133,9 @@ ecore_drm2_plane_release(Ecore_Drm2_Plane *plane) EINA_SAFETY_ON_NULL_RETURN(plane); EINA_SAFETY_ON_TRUE_RETURN(plane->dead); - plane->output->fbs = eina_list_append(plane->output->fbs, - plane->state->fb); + plane->output->fbs = + eina_list_append(plane->output->fbs, plane->state->fb); + plane->dead = EINA_TRUE; plane->state->fb = NULL; plane->state->in_use = EINA_FALSE; @@ -169,8 +170,10 @@ ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb) if (_fb_atomic_flip_test(plane->output)) { _ecore_drm2_fb_ref(fb); - plane->output->fbs = eina_list_append(plane->output->fbs, - plane->state->fb); + + plane->output->fbs = + eina_list_append(plane->output->fbs, plane->state->fb); + plane->state->fb = fb; return EINA_TRUE; } --