[PATCH 0/3] Add support for databus widen mode

Marijn Suijten marijn.suijten at somainline.org
Wed Jun 14 10:09:37 UTC 2023


On 2023-06-13 18:57:10, Jessica Zhang wrote:
> DPU 5.x+ and DSI 6G 2.5.x+ support a databus-widen mode that allows for
> more compressed data to be transferred per pclk.
> 
> This series adds support for enabling this feature for both DPU and DSI
> by doing the following:
> 
> 1. Add a DPU_INTF_DATABUS_WIDEN feature flag
> 2. Add a DPU INTF op to set the DATABUS_WIDEN register
> 3. Set the DATABUS_WIDEN register and do the proper hdisplay
>    calculations in DSI when applicable
> 
> Note: This series will only enable the databus-widen mode for command
> mode as we are currently unable to validate it on video mode.
> 
> Depends on: "Add DSC v1.2 Support for DSI" [1]
> 
> [1] https://patchwork.freedesktop.org/series/117219/

Didn't Dmitry already pick that up for msm-next-lumag?

- Marijn

> Signed-off-by: Jessica Zhang <quic_jesszhan at quicinc.com>
> ---
> Jessica Zhang (3):
>       drm/msm/dpu: Add DPU_INTF_DATABUS_WIDEN feature flag for DPU >= 5.0
>       drm/msm/dpu: Set DATABUS_WIDEN on command mode encoders
>       drm/msm/dsi: Enable DATABUS_WIDEN for DSI command mode
> 
>  drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c |  3 +++
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c       |  3 ++-
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h       |  2 ++
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c          | 12 ++++++++++++
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h          |  3 +++
>  drivers/gpu/drm/msm/dsi/dsi.xml.h                    |  1 +
>  drivers/gpu/drm/msm/dsi/dsi_host.c                   | 19 ++++++++++++++++++-
>  7 files changed, 41 insertions(+), 2 deletions(-)
> ---
> base-commit: 1981c2c0c05f5d7fe4d4552d4f352cb46840e51e
> change-id: 20230525-add-widebus-support-f785546ee751
> 
> Best regards,
> -- 
> Jessica Zhang <quic_jesszhan at quicinc.com>
> 


More information about the dri-devel mailing list