This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/devilhorns/apos
in repository efl.

View the commit online.

commit d77f0d45712057a86b97167743ca9791a60f53b8
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Wed Aug 13 10:55:17 2025 -0500

    ecore_drm2: When destroying an overlay plane, be sure to clear it
---
 src/lib/ecore_drm2/ecore_drm2_planes.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/ecore_drm2/ecore_drm2_planes.c b/src/lib/ecore_drm2/ecore_drm2_planes.c
index c0898cf810..228818d8f8 100644
--- a/src/lib/ecore_drm2/ecore_drm2_planes.c
+++ b/src/lib/ecore_drm2/ecore_drm2_planes.c
@@ -335,6 +335,12 @@ _ecore_drm2_planes_destroy(Ecore_Drm2_Device *dev)
 
    EINA_LIST_FREE(dev->planes, plane)
      {
+        if (plane->state.current->type.value == DRM_PLANE_TYPE_OVERLAY)
+          {
+             sym_drmModeSetPlane(dev->fd, plane->id, 0, 0, 0, 0, 0, 0, 0,
+                                 0, 0, 0, 0);
+          }
+
         if (plane->thread) ecore_thread_cancel(plane->thread);
         if (plane->drmPlane) sym_drmModeFreePlane(plane->drmPlane);
         free(plane->state.pending);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to