Commit e404b72f authored by Daniel Stone's avatar Daniel Stone

compositor-drm: Split assign_planes() into separate file

drm_assign_planes() is called to separate views out and decide what will
be taken out for plane composition and what will be left for the
renderer to compose.

It calls drm_output_propose_state() in order to find a good
configuration, which itself has a number of helpers that it calls. Break
these out into a separate file.
Signed-off-by: Daniel Stone's avatarDaniel Stone <>
parent 6b466f25
......@@ -665,3 +665,9 @@ drm_plane_state_put_back(struct drm_plane_state *state);
drm_plane_state_coords_for_view(struct drm_plane_state *state,
struct weston_view *ev);
drm_assign_planes(struct weston_output *output_base, void *repaint_data);
drm_plane_is_available(struct drm_plane *plane, struct drm_output *output);
This diff is collapsed.
......@@ -25,6 +25,7 @@ srcs_drm = [
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment