summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_plane.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-05-03 10:43:47 -0400
committerDerek Foreman <derekf@osg.samsung.com>2017-05-05 12:53:24 -0500
commitbd4ccfa0f56b8ccd392e585b1744267d62a0a048 (patch)
tree5d89676499c0ccfbad74ffd7aab1fb4314707a5e /src/lib/ecore_drm2/ecore_drm2_plane.c
parent7a50010536e913afcce897f8dd022dec7d048fda (diff)
ecore-drm2: Don't remove plane from output list on release
As we need to be able to commit a new plane state for any released planes, we should not be removing them from the output list just yet. Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index 6729486946..100b8b959d 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -126,8 +126,6 @@ ecore_drm2_plane_release(Ecore_Drm2_Plane *plane)
126 EINA_SAFETY_ON_NULL_RETURN(plane); 126 EINA_SAFETY_ON_NULL_RETURN(plane);
127 127
128 plane->state->in_use = EINA_FALSE; 128 plane->state->in_use = EINA_FALSE;
129 plane->output->planes = eina_list_remove(plane->output->planes, plane);
130 free(plane);
131} 129}
132 130
133EAPI void 131EAPI void