The writeback backend of the dpu_encoder is the only user of the dpu_encoder_phys_ops::atomic_check() callback. Move corresponding code to the DPU's drm_writeback_connector implementation (dpu_writeback.c) and drop corresponding callback code. Dependency chanin: - https://patchwork.freedesktop.org/series/116851/ - https://patchwork.freedesktop.org/series/116615/ - https://patchwork.freedesktop.org/series/117148/ - https://patchwork.freedesktop.org/series/116530/ - https://patchwork.freedesktop.org/series/117150/ Dmitry Baryshkov (2): drm/msm/dpu: move writeback's atomic_check to dpu_writeback.c drm/msm/dpu: drop dpu_encoder_phys_ops::atomic_check() drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 15 ----- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 4 -- .../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 54 ------------------ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 57 ++++++++++++++++++- drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.h | 3 +- 6 files changed, 60 insertions(+), 77 deletions(-) -- 2.39.2