[PATCH v4 0/5] drm/msm/dp: Support multiple DP instances and add sc8180x

From: Bjorn Andersson
Date: Tue Oct 05 2021 - 19:11:47 EST


The current implementation supports a single DP instance and the DPU code will
only match it against INTF_DP instance 0. These patches extends this to allow
multiple DP instances and support for matching against DP instances beyond 0.

With that in place add SC8180x DP and eDP controllers.

Bjorn Andersson (7):
drm/msm/dp: Remove global g_dp_display variable
drm/msm/dp: Modify prototype of encoder based API
drm/msm/dp: Allow specifying connector_type per controller
drm/msm/dp: Allow attaching a drm_panel
drm/msm/dp: Support up to 3 DP controllers
dt-bindings: msm/dp: Add SC8180x compatibles
drm/msm/dp: Add sc8180x DP controllers

.../bindings/display/msm/dp-controller.yaml | 2 +
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 23 +--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 66 ++++----
.../gpu/drm/msm/disp/msm_disp_snapshot_util.c | 8 +-
drivers/gpu/drm/msm/dp/dp_display.c | 153 ++++++++++--------
drivers/gpu/drm/msm/dp/dp_display.h | 2 +
drivers/gpu/drm/msm/dp/dp_drm.c | 13 +-
drivers/gpu/drm/msm/dp/dp_parser.c | 30 +++-
drivers/gpu/drm/msm/dp/dp_parser.h | 3 +-
drivers/gpu/drm/msm/msm_drv.h | 2 +-
10 files changed, 194 insertions(+), 108 deletions(-)

--
2.29.2