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 <abhinavk@codeaurora.org>
Cc: Jonathan Marek <jonathan@marek.ca>,
Stephen Boyd <sboyd@kernel.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 v4 0/7] drm/msm/dpu: add support for independent DSI config
Date: Sat, 17 Jul 2021 15:40:09 +0300 [thread overview]
Message-ID: <20210717124016.316020-1-dmitry.baryshkov@linaro.org> (raw)
This patchseries adds support for independent DSI config to DPU1 display
subdriver. Also drop one of msm_kms_funcs callbacks, made unnecessary
now.
Tested on RB5 (dpu, dsi). Previous iteration was tested by Alexey
Minnekhanov.
Changes since v3:
- Fix missing semicolon in the msm_dsi_is_master_dsi() stub as noted by
the kernel test robot
Changes since v2:
- Removed Reviewed-By tags from changed patches (1, 2)
- Changed more dual DSI mentions in the patch 1
- Added msm_dsi_is_master_dsi() helper
- Rewrote dsi encoder setup function again basing on review by Abhinav
Cahanges since v1:
- Rewrote dsi encoder setup function by separating common code sequence
and calling it either for the bonded interface or twice for each of
the DSI hosts.
Changes since RFC:
- renamed dual DSI to bonded DSI as suggsted by Abhinav
- added comments to _dpu_kms_initialize_dsi() regarding encoders usage
The following changes since commit e88bbc91849b2bf57683119c339e52916d34433f:
Revert "drm/msm/mdp5: provide dynamic bandwidth management" (2021-06-23 14:06:20 -0700)
are available in the Git repository at:
https://git.linaro.org/people/dmitry.baryshkov/kernel.git msm-drm-drop-set-encoder-mode-4
for you to fetch changes up to 75dcb396a3230046f5967bd7363d6b8cab0bf743:
drm/msm/kms: drop set_encoder_mode callback (2021-07-17 15:36:41 +0300)
----------------------------------------------------------------
Dmitry Baryshkov (7):
drm/msm/dsi: rename dual DSI to bonded DSI
drm/msm/dsi: add three helper functions
drm/msm/dpu: support setting up two independent DSI connectors
drm/msm/mdp5: move mdp5_encoder_set_intf_mode after msm_dsi_modeset_init
drm/msm/dp: stop calling set_encoder_mode callback
drm/msm/dsi: stop calling set_encoder_mode callback
drm/msm/kms: drop set_encoder_mode callback
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 102 ++++++++++++----------
drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c | 2 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 11 +--
drivers/gpu/drm/msm/dp/dp_display.c | 18 ----
drivers/gpu/drm/msm/dsi/dsi.c | 9 +-
drivers/gpu/drm/msm/dsi/dsi.h | 9 +-
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 +-
drivers/gpu/drm/msm/dsi/dsi_host.c | 34 ++++----
drivers/gpu/drm/msm/dsi/dsi_manager.c | 130 +++++++++++++----------------
drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 2 +-
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 6 +-
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 2 +-
drivers/gpu/drm/msm/msm_drv.h | 17 +++-
drivers/gpu/drm/msm/msm_kms.h | 3 -
14 files changed, 170 insertions(+), 177 deletions(-)
next reply other threads:[~2021-07-17 12:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-17 12:40 Dmitry Baryshkov [this message]
2021-07-17 12:40 ` [PATCH v4 1/7] drm/msm/dsi: rename dual DSI to bonded DSI Dmitry Baryshkov
2021-07-23 3:07 ` Bjorn Andersson
2021-07-17 12:40 ` [PATCH v4 2/7] drm/msm/dsi: add three helper functions Dmitry Baryshkov
2021-07-19 10:31 ` kernel test robot
2021-07-25 4:05 ` Bjorn Andersson
2021-07-17 12:40 ` [PATCH v4 3/7] drm/msm/dpu: support setting up two independent DSI connectors Dmitry Baryshkov
2021-07-25 4:06 ` Bjorn Andersson
2021-07-17 12:40 ` [PATCH v4 4/7] drm/msm/mdp5: move mdp5_encoder_set_intf_mode after msm_dsi_modeset_init Dmitry Baryshkov
2021-07-25 4:07 ` Bjorn Andersson
2021-07-17 12:40 ` [PATCH v4 5/7] drm/msm/dp: stop calling set_encoder_mode callback Dmitry Baryshkov
2021-07-25 4:08 ` Bjorn Andersson
2021-07-17 12:40 ` [PATCH v4 6/7] drm/msm/dsi: " Dmitry Baryshkov
2021-07-25 4:08 ` Bjorn Andersson
2021-07-17 12:40 ` [PATCH v4 7/7] drm/msm/kms: drop " Dmitry Baryshkov
2021-07-25 4:09 ` Bjorn Andersson
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=20210717124016.316020-1-dmitry.baryshkov@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=abhinavk@codeaurora.org \
--cc=airlied@linux.ie \
--cc=bjorn.andersson@linaro.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jonathan@marek.ca \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=sboyd@kernel.org \
--cc=sean@poorly.run \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).