summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c1
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index 100b8b959d..2ecf96b19f 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -126,6 +126,7 @@ 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->state->release = EINA_TRUE;
129} 130}
130 131
131EAPI void 132EAPI void
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 3bef9fe5bd..f73f8bcb49 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -652,7 +652,7 @@ typedef struct _Ecore_Drm2_Plane_State
652 uint32_t num_formats; 652 uint32_t num_formats;
653 uint32_t *formats; 653 uint32_t *formats;
654 654
655 Eina_Bool in_use; 655 Eina_Bool in_use, release;
656} Ecore_Drm2_Plane_State; 656} Ecore_Drm2_Plane_State;
657 657
658struct _Ecore_Drm2_Atomic_State 658struct _Ecore_Drm2_Atomic_State