Rework dpu_encoder initialization code, simplifying calling sequences and separating common init parts. 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(-) -- 2.39.2