summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_plane.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-05-30 15:56:51 -0400
committerChris Michael <cp.michael@samsung.com>2017-05-30 15:56:51 -0400
commitf2a0e5ae4cc1c946eb83fe6b9fe9b702f3ef1acf (patch)
tree6f2aabdfd4321e8069b35d79414d43935aeb2f0e /src/lib/ecore_drm2/ecore_drm2_plane.c
parent43eb1b16303dc0c413d9bd9b35c726e5798b4acb (diff)
ecore-drm2: Minor formatting fix
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c11
1 files 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)
133 EINA_SAFETY_ON_NULL_RETURN(plane); 133 EINA_SAFETY_ON_NULL_RETURN(plane);
134 EINA_SAFETY_ON_TRUE_RETURN(plane->dead); 134 EINA_SAFETY_ON_TRUE_RETURN(plane->dead);
135 135
136 plane->output->fbs = eina_list_append(plane->output->fbs, 136 plane->output->fbs =
137 plane->state->fb); 137 eina_list_append(plane->output->fbs, plane->state->fb);
138
138 plane->dead = EINA_TRUE; 139 plane->dead = EINA_TRUE;
139 plane->state->fb = NULL; 140 plane->state->fb = NULL;
140 plane->state->in_use = EINA_FALSE; 141 plane->state->in_use = EINA_FALSE;
@@ -169,8 +170,10 @@ ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb)
169 if (_fb_atomic_flip_test(plane->output)) 170 if (_fb_atomic_flip_test(plane->output))
170 { 171 {
171 _ecore_drm2_fb_ref(fb); 172 _ecore_drm2_fb_ref(fb);
172 plane->output->fbs = eina_list_append(plane->output->fbs, 173
173 plane->state->fb); 174 plane->output->fbs =
175 eina_list_append(plane->output->fbs, plane->state->fb);
176
174 plane->state->fb = fb; 177 plane->state->fb = fb;
175 return EINA_TRUE; 178 return EINA_TRUE;
176 } 179 }