summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_plane.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-04-28 15:17:07 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-05-05 12:53:21 -0500
commit014e84d8fa079088509c3fb3679bb4ce0f39764b (patch)
tree641aaff253144f72df472a0275f2242e1e9d6e1d /src/lib/ecore_drm2/ecore_drm2_plane.c
parentaae1c50dd3fd2aa62b9d2cc661ae9e83baacaf98 (diff)
ecore_drm2: Store output in plane structure
This will simplify a bunch of API that would otherwise have to pass in both output and plane - and in some cases we might not have the output handy anyway.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index f1cb78157b..943104fd00 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -104,6 +104,7 @@ out:
104 104
105 plane->state = pstate; 105 plane->state = pstate;
106 plane->type = pstate->type.value; 106 plane->type = pstate->type.value;
107 plane->output = output;
107 108
108 DBG("FB %d assigned to Plane %d", fb->id, pstate->obj_id); 109 DBG("FB %d assigned to Plane %d", fb->id, pstate->obj_id);
109 output->planes = eina_list_append(output->planes, plane); 110 output->planes = eina_list_append(output->planes, plane);