[Freedreno] [PATCH 0/4] drm/msm: rework MDSS drivers
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Jan 6 00:42:53 UTC 2022
These patches coninue work started by AngeloGioacchino Del Regno in the
previous cycle by further decoupling and dissecting MDSS and MDP drivers
probe/binding paths.
This removes code duplication between MDP5 and DPU1 MDSS drivers, by
merging them and moving to the top level.
This patchset depends on the patch
https://patchwork.freedesktop.org/patch/464362/?series=97310&rev=2 to be
applied (just 1/2, no need for 2/2).
----------------------------------------------------------------
Dmitry Baryshkov (4):
drm/msm: unify MDSS drivers
drm/msm: remove extra indirection for msm_mdss
drm/msm: split the main platform driver
drm/msm: stop using device's match data pointer
drivers/gpu/drm/msm/Makefile | 3 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 10 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c | 260 ------------------
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 68 ++++-
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 11 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c | 252 -----------------
drivers/gpu/drm/msm/msm_drv.c | 260 ++++--------------
drivers/gpu/drm/msm/msm_drv.h | 16 ++
drivers/gpu/drm/msm/msm_kms.h | 18 --
drivers/gpu/drm/msm/msm_mdss.c | 438 ++++++++++++++++++++++++++++++
10 files changed, 578 insertions(+), 758 deletions(-)
delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c
delete mode 100644 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c
create mode 100644 drivers/gpu/drm/msm/msm_mdss.c
More information about the Freedreno
mailing list