[Freedreno] [PATCH 0/2] drm/msm/dpu: remove dpu_encoder_phys_ops::atomic_check()

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri May 19 02:30:09 UTC 2023


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



More information about the Freedreno mailing list