All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] drm/msm: rework MDSS drivers
@ 2022-03-04  3:21 ` Dmitry Baryshkov
  0 siblings, 0 replies; 42+ messages in thread
From: Dmitry Baryshkov @ 2022-03-04  3:21 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Clark, Sean Paul, Abhinav Kumar
  Cc: David Airlie, linux-arm-msm, dri-devel, Stephen Boyd, 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 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 (5):
  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 runtime selection of driver components

 drivers/gpu/drm/msm/Kconfig               |  50 ++-
 drivers/gpu/drm/msm/Makefile              |  19 +-
 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             | 263 +++----------
 drivers/gpu/drm/msm/msm_drv.h             |  57 ++-
 drivers/gpu/drm/msm/msm_kms.h             |  18 -
 drivers/gpu/drm/msm/msm_mdss.c            | 429 ++++++++++++++++++++++
 11 files changed, 667 insertions(+), 770 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


base-commit: 8ddb80c5fcf455fe38156636126a83eadacfb743
-- 
2.34.1


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

end of thread, other threads:[~2022-03-17 15:43 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04  3:21 [PATCH v3 0/5] drm/msm: rework MDSS drivers Dmitry Baryshkov
2022-03-04  3:21 ` Dmitry Baryshkov
2022-03-04  3:21 ` [PATCH v3 1/5] drm/msm: unify " Dmitry Baryshkov
2022-03-04  3:21   ` Dmitry Baryshkov
2022-03-05  0:39   ` Abhinav Kumar
2022-03-05  0:39     ` Abhinav Kumar
2022-03-08 20:25   ` Stephen Boyd
2022-03-08 20:25     ` Stephen Boyd
2022-03-04  3:21 ` [PATCH v3 2/5] drm/msm: remove extra indirection for msm_mdss Dmitry Baryshkov
2022-03-04  3:21   ` Dmitry Baryshkov
2022-03-05  0:42   ` Abhinav Kumar
2022-03-05  0:42     ` Abhinav Kumar
2022-03-08 20:26   ` Stephen Boyd
2022-03-08 20:26     ` Stephen Boyd
2022-03-04  3:21 ` [PATCH v3 3/5] drm/msm: split the main platform driver Dmitry Baryshkov
2022-03-04  3:21   ` Dmitry Baryshkov
2022-03-05  2:10   ` Abhinav Kumar
2022-03-05  2:10     ` Abhinav Kumar
2022-03-08 20:31   ` Stephen Boyd
2022-03-08 20:31     ` Stephen Boyd
2022-03-04  3:21 ` [PATCH v3 4/5] drm/msm: stop using device's match data pointer Dmitry Baryshkov
2022-03-04  3:21   ` Dmitry Baryshkov
2022-03-08 20:32   ` Stephen Boyd
2022-03-08 20:32     ` Stephen Boyd
2022-03-16  0:20   ` Abhinav Kumar
2022-03-16  0:20     ` Abhinav Kumar
2022-03-04  3:21 ` [PATCH v3 5/5] drm/msm: allow compile time selection of driver components Dmitry Baryshkov
2022-03-04  3:21   ` Dmitry Baryshkov
2022-03-04 22:00   ` Rob Clark
2022-03-04 22:00     ` Rob Clark
2022-03-08 20:36   ` Stephen Boyd
2022-03-08 20:36     ` Stephen Boyd
2022-03-16  0:28   ` Abhinav Kumar
2022-03-16  0:28     ` Abhinav Kumar
2022-03-16  7:31     ` Dmitry Baryshkov
2022-03-16  7:31       ` Dmitry Baryshkov
2022-03-16 17:26       ` [Freedreno] " Abhinav Kumar
2022-03-16 17:26         ` Abhinav Kumar
2022-03-17 12:44         ` Dmitry Baryshkov
2022-03-17 12:44           ` Dmitry Baryshkov
2022-03-17 15:43           ` Dmitry Baryshkov
2022-03-17 15:43             ` 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.