All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] drm/msm: rework MDSS drivers
@ 2022-03-23  9:25 ` Dmitry Baryshkov
  0 siblings, 0 replies; 21+ messages in thread
From: Dmitry Baryshkov @ 2022-03-23  9:25 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Clark, Sean Paul, Abhinav Kumar
  Cc: Stephen Boyd, David Airlie, Daniel Vetter, linux-arm-msm,
	dri-devel, freedreno

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 patches 1 and 2 from [1]

Changes since v3:
 - Rebased on top of current msm/msm-next
 - Fixed issue with enabling/disabling MDP4/MDP5 vs DSI driver (per
   Stephen's suggestion)
 - Reworked mdss_probe to remove extra platform_set_drvdata calls (per
   Stephen's suggestion)
 - Fixed a typo in the Kconfig (noted by Rob)
 - Added a patch to move component mastership from mdss to mdp5/dpu1
   devices

Changes since v2:
 - Rebased on top of current msm/msm-next(-staging)
 - Allow disabling MDP4/MDP5/DPU/HDMI components (like we do for DP and
   DSI)
 - Made mdp5_mdss_parse_clock() static
 - Changed mdp5 to is_mdp5 argument in several functions
 - Dropped boolean device data from the mdss driver
 - Reworked error handling in msm_pdev_probe()
 - Removed unused header inclusion
 - Dropped __init/__exit from function prototypes

Changes since v1:
 - Rebased on top of [2] and [1]

[1] https://patchwork.freedesktop.org/series/99066/
[2] https://patchwork.freedesktop.org/series/98521/

Dmitry Baryshkov (6):
  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
  drm/msm: allow compile time selection of driver components
  drm/msm: make mdp5/dpu devices master components

 drivers/gpu/drm/msm/Kconfig                   |  50 ++-
 drivers/gpu/drm/msm/Makefile                  |  25 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |  78 ++--
 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c      | 260 ------------
 .../gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c  |   3 +
 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c      |  54 ++-
 .../gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c  |   3 +
 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c      |  54 +--
 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c     | 252 ------------
 drivers/gpu/drm/msm/msm_drv.c                 | 261 +++---------
 drivers/gpu/drm/msm/msm_drv.h                 |  61 ++-
 drivers/gpu/drm/msm/msm_kms.h                 |  21 -
 drivers/gpu/drm/msm/msm_mdss.c                | 379 ++++++++++++++++++
 13 files changed, 645 insertions(+), 856 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

-- 
2.35.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-03-25  9:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23  9:25 [PATCH v3 0/6] drm/msm: rework MDSS drivers Dmitry Baryshkov
2022-03-23  9:25 ` Dmitry Baryshkov
2022-03-23  9:25 ` [PATCH v3 1/6] drm/msm: unify " Dmitry Baryshkov
2022-03-23  9:25   ` Dmitry Baryshkov
2022-03-23  9:25 ` [PATCH v3 2/6] drm/msm: remove extra indirection for msm_mdss Dmitry Baryshkov
2022-03-23  9:25   ` Dmitry Baryshkov
2022-03-23  9:25 ` [PATCH v3 3/6] drm/msm: split the main platform driver Dmitry Baryshkov
2022-03-23  9:25   ` Dmitry Baryshkov
2022-03-23 13:39   ` kernel test robot
2022-03-24 21:23   ` Stephen Boyd
2022-03-24 21:23     ` Stephen Boyd
2022-03-23  9:25 ` [PATCH v3 4/6] drm/msm: stop using device's match data pointer Dmitry Baryshkov
2022-03-23  9:25   ` Dmitry Baryshkov
2022-03-23  9:25 ` [PATCH v3 5/6] drm/msm: allow compile time selection of driver components Dmitry Baryshkov
2022-03-23  9:25   ` Dmitry Baryshkov
2022-03-23  9:25 ` [PATCH v3 6/6] drm/msm: make mdp5/dpu devices master components Dmitry Baryshkov
2022-03-23  9:25   ` Dmitry Baryshkov
2022-03-24 21:37   ` Stephen Boyd
2022-03-24 21:37     ` Stephen Boyd
2022-03-25  9:34     ` Dmitry Baryshkov
2022-03-25  9:34       ` Dmitry Baryshkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.