From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Bjorn Andersson <bjorn.andersson@linaro.org>, Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>, Abhinav Kumar <quic_abhinavk@quicinc.com> Cc: David Airlie <airlied@linux.ie>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd <swboyd@chromium.org>, freedreno@lists.freedesktop.org Subject: [PATCH v3 0/5] drm/msm: rework MDSS drivers Date: Fri, 4 Mar 2022 06:21:01 +0300 [thread overview] Message-ID: <20220304032106.2866043-1-dmitry.baryshkov@linaro.org> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Bjorn Andersson <bjorn.andersson@linaro.org>, Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>, Abhinav Kumar <quic_abhinavk@quicinc.com> Cc: Stephen Boyd <swboyd@chromium.org>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH v3 0/5] drm/msm: rework MDSS drivers Date: Fri, 4 Mar 2022 06:21:01 +0300 [thread overview] Message-ID: <20220304032106.2866043-1-dmitry.baryshkov@linaro.org> (raw) 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
next reply other threads:[~2022-03-04 3:21 UTC|newest] Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-04 3:21 Dmitry Baryshkov [this message] 2022-03-04 3:21 ` [PATCH v3 0/5] drm/msm: rework MDSS drivers 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220304032106.2866043-1-dmitry.baryshkov@linaro.org \ --to=dmitry.baryshkov@linaro.org \ --cc=airlied@linux.ie \ --cc=bjorn.andersson@linaro.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=freedreno@lists.freedesktop.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=quic_abhinavk@quicinc.com \ --cc=robdclark@gmail.com \ --cc=sean@poorly.run \ --cc=swboyd@chromium.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.