mbox series

[v1,0/7] drm/msm/dpu: add support for idependent DSI config

Message ID 20210708122833.363451-1-dmitry.baryshkov@linaro.org
Headers show
Series drm/msm/dpu: add support for idependent DSI config | expand

Message

Dmitry Baryshkov July 8, 2021, 12:28 p.m. UTC
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 v1:
 - 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-1

for you to fetch changes up to 142f79dfc41271576731a49516d63ad47a56e1ca:

  drm/msm/kms: drop set_encoder_mode callback (2021-07-08 15:20:52 +0300)

----------------------------------------------------------------
Dmitry Baryshkov (7):
      drm/msm/dsi: rename dual DSI to bonded DSI
      drm/msm/dsi: add two 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_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       |  30 ++++-----
 drivers/gpu/drm/msm/dsi/dsi_manager.c    |  93 ++++++++++++----------------
 drivers/gpu/drm/msm/msm_drv.h            |  12 +++-
 drivers/gpu/drm/msm/msm_kms.h            |   3 -
 10 files changed, 136 insertions(+), 153 deletions(-)

Comments

Alexey Minnekhanov July 9, 2021, 1:06 p.m. UTC | #1
08.07.2021 15:28, Dmitry Baryshkov wrote:
> 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 v1:

>   - 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-1

> 

> for you to fetch changes up to 142f79dfc41271576731a49516d63ad47a56e1ca:

> 

>    drm/msm/kms: drop set_encoder_mode callback (2021-07-08 15:20:52 +0300)

> 

> ----------------------------------------------------------------

> Dmitry Baryshkov (7):

>        drm/msm/dsi: rename dual DSI to bonded DSI

>        drm/msm/dsi: add two 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_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       |  30 ++++-----

>   drivers/gpu/drm/msm/dsi/dsi_manager.c    |  93 ++++++++++++----------------

>   drivers/gpu/drm/msm/msm_drv.h            |  12 +++-

>   drivers/gpu/drm/msm/msm_kms.h            |   3 -

>   10 files changed, 136 insertions(+), 153 deletions(-)

> 


I've tested these patches (again), on msm8974 samsung-klte device with 
MDP5 and nothing is broken.

Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org>


-- 
Regards
Alexey Minnekhanov
postmarketOS developer
https://www.postmarketos.org