mbox series

[0/5] Implement komeda DRM-Plane

Message ID 20181224091450.2643-1-james.qian.wang@arm.com (mailing list archive)
Headers show
Series Implement komeda DRM-Plane | expand

Message

James Qian Wang Dec. 24, 2018, 9:15 a.m. UTC
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