[PATCH v2 0/5] Implement komeda DRM-Plane

james qian wang (Arm Technology China) james.qian.wang at arm.com
Tue Jan 22 11:05:28 UTC 2019


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.

v2:
- Rebase
- Introduce struct komeda_data_flow_cfg
- Update code after applied commit:
  b962a12050a3 ("drm/atomic: integrate modeset lock with private objects")

james qian wang (Arm Technology China) (5):
  drm: Add drm_atomic_get_old/new_private_obj_state
  drm/komeda: Add komeda_pipeline/component_get_state_and_set_user
  drm/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 +
 .../gpu/drm/arm/display/komeda/komeda_kms.c   |   3 +-
 .../gpu/drm/arm/display/komeda/komeda_kms.h   |   2 +-
 .../drm/arm/display/komeda/komeda_pipeline.h  |  24 ++
 .../display/komeda/komeda_pipeline_state.c    | 406 ++++++++++++++++++
 .../gpu/drm/arm/display/komeda/komeda_plane.c | 128 ++++++
 .../arm/display/komeda/komeda_private_obj.c   | 220 +++++++++-
 drivers/gpu/drm/drm_atomic.c                  |  45 +-
 include/drm/drm_atomic.h                      |   6 +
 9 files changed, 817 insertions(+), 18 deletions(-)
 create mode 100644 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c

-- 
2.17.1



More information about the dri-devel mailing list