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(-)