[PATCH 0/5] Implement komeda DRM-Plane

From: james qian wang (Arm Technology China)
Date: Mon Dec 24 2018 - 04:15:33 EST


This is the 3rd patchset for the komeda driver.

This patchset implemented plane/plane_helper functions for DRM-Plane.
per the komeda driver design, A DRM-plane maps to komeda layer input
pipeline, so the plane->atomic_check will build a layer input pipeline
according to the plane_state. and with this build function the plane_state
will be covert to komeda private component states to represent the real
HW configuration.

Beside that also added some basic functions for operating the komeda
private object.

James (Qian) Wang (5):
drm: Add drm_atomic_get_old/new_private_obj_state
drm/komeda: Add komeda_pipeline/component_get_state_and_set_user
drm/arm/komeda: Initialize komeda component as drm private object
drm/komeda: Add komeda_build_layer_data_flow
drm/komeda: Add komeda_plane/plane_helper_funcs

drivers/gpu/drm/arm/display/komeda/Makefile | 1 +
.../drm/arm/display/komeda/komeda_pipeline.c | 2 +
.../drm/arm/display/komeda/komeda_pipeline.h | 31 ++
.../display/komeda/komeda_pipeline_state.c | 408 ++++++++++++++++++
.../gpu/drm/arm/display/komeda/komeda_plane.c | 129 ++++++
.../arm/display/komeda/komeda_private_obj.c | 200 ++++++++-
drivers/gpu/drm/drm_atomic.c | 45 +-
include/drm/drm_atomic.h | 6 +
8 files changed, 819 insertions(+), 3 deletions(-)
create mode 100644 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c

--
2.17.1