summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-03-27 11:53:54 -0400
committerChris Michael <cp.michael@samsung.com>2017-04-18 07:55:10 -0400
commitf1525ecf35f25019268ee0a2d87567b6846be194 (patch)
treed508de11f59db88aa46ef5c28544a79762fc9818 /src/lib/ecore_drm2/ecore_drm2_private.h
parent9dbf54e2f644df4fbefe345caa0732b1a481c8b9 (diff)
ecore-drm2: Cleanup list of output planes on output_destroy
Small patch to make sure we free memory previously allocated for hardware planes when we destroy an output Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 0c5937dc51..3a9f15a789 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -711,7 +711,7 @@ struct _Ecore_Drm2_Plane
711 Ecore_Drm2_Fb *fb; // current fbo 711 Ecore_Drm2_Fb *fb; // current fbo
712 Ecore_Drm2_Fb *qfb; // queued fbo 712 Ecore_Drm2_Fb *qfb; // queued fbo
713# ifdef HAVE_ATOMIC_DRM 713# ifdef HAVE_ATOMIC_DRM
714 Ecore_Drm2_Plane_State *plane_state; 714 Ecore_Drm2_Plane_State *state;
715# endif 715# endif
716}; 716};
717 717
@@ -775,6 +775,7 @@ struct _Ecore_Drm2_Output
775 Ecore_Drm2_Crtc_State *crtc_state; 775 Ecore_Drm2_Crtc_State *crtc_state;
776 Ecore_Drm2_Connector_State *conn_state; 776 Ecore_Drm2_Connector_State *conn_state;
777 Eina_List *plane_states; 777 Eina_List *plane_states;
778 Eina_List *planes;
778# endif 779# endif
779 780
780 Eina_Bool connected : 1; 781 Eina_Bool connected : 1;