summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_plane.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index cc79bff1dd..796302dc1f 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -124,6 +124,10 @@ out:
124 DBG("FB %d assigned to Plane %d", fb->id, pstate->obj_id); 124 DBG("FB %d assigned to Plane %d", fb->id, pstate->obj_id);
125 output->planes = eina_list_append(output->planes, plane); 125 output->planes = eina_list_append(output->planes, plane);
126 126
127 if (fb->status_handler)
128 fb->status_handler(fb,
129 ECORE_DRM2_FB_STATUS_PLANE_ASSIGN,
130 fb->status_data);
127 return plane; 131 return plane;
128} 132}
129 133
@@ -143,6 +147,11 @@ ecore_drm2_plane_release(Ecore_Drm2_Plane *plane)
143 plane->dead = EINA_TRUE; 147 plane->dead = EINA_TRUE;
144 plane->state->in_use = EINA_FALSE; 148 plane->state->in_use = EINA_FALSE;
145 _fb_atomic_flip_test(plane->output); 149 _fb_atomic_flip_test(plane->output);
150
151 if (fb->status_handler)
152 fb->status_handler(fb,
153 ECORE_DRM2_FB_STATUS_PLANE_RELEASE,
154 fb->status_data);
146} 155}
147 156
148EAPI void 157EAPI void