[PATCH 0/7] drm/msm/dpu: simplify DPU encoder init

Abhinav Kumar quic_abhinavk at quicinc.com
Wed May 3 22:42:35 UTC 2023



On 4/30/2023 4:57 PM, Dmitry Baryshkov wrote:
> Rework dpu_encoder initialization code, simplifying calling sequences
> and separating common init parts.

Please mention that your series was made on top of 
https://patchwork.freedesktop.org/series/116530/.

Figured it out when I tried to apply it to my branch to test.

Validated writeback just in case with this, hence please use

Tested-by: Abhinav Kumar <quic_abhinavk at quicinc.com> # sc7280

> 
> Dmitry Baryshkov (7):
>    drm/msm/dpu: merge dpu_encoder_init() and dpu_encoder_setup()
>    drm/msm/dpu: drop dpu_encoder_early_unregister
>    drm/msm/dpu: separate common function to init physical encoder
>    drm/msm/dpu: drop duplicated intf/wb indices from encoder structs
>    drm/msm/dpu: inline dpu_encoder_get_wb()
>    drm/msm/dpu: call dpu_rm_get_intf() from dpu_encoder_get_intf()
>    drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set
> 
>   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   | 190 ++++++++----------
>   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h   |  14 +-
>   .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h  |  20 +-
>   .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c  |  55 ++---
>   .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c  |  35 +---
>   .../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c   |  38 +---
>   drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |  87 +++-----
>   7 files changed, 155 insertions(+), 284 deletions(-)
> 


More information about the dri-devel mailing list