mbox series

[v2,0/7] drm/msm/dpu: cleanup dpu encoder code

Message ID 20220217035358.465904-1-dmitry.baryshkov@linaro.org
Headers show
Series drm/msm/dpu: cleanup dpu encoder code | expand

Message

Dmitry Baryshkov Feb. 17, 2022, 3:53 a.m. UTC
This patchset targets DPU encoder code, removing unused artifacts (empty
callbacks, MSM bus client id, etc).

Changes since v2:
 - Expand commit message of 7th patch (pull connector from
   dpu_encoder_phys to dpu_encoder_virt)
 - Drop intf_type patch for now, as it causes controversy

Changes since v1:
 - Split dp audio fixup from the intf_type patch
 - Remove atomic_check() removal, used by the posted WB support

Dmitry Baryshkov (7):
  drm/msm/dpu: fix dp audio condition
  drm/msm: move struct msm_display_info to dpu driver
  drm/msm/dpu: remove msm_dp cached in dpu_encoder_virt
  drm/msm/dpu: drop bus_scaling_client field
  drm/msm/dpu: encoder: drop unused mode_fixup callback
  drm/msm/dpu: switch dpu_encoder to use atomic_mode_set
  drm/msm/dpu: pull connector from dpu_encoder_phys to dpu_encoder_virt

 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   | 59 +++++--------------
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h   | 18 ++++++
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h  | 14 ++---
 .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c  | 28 ++-------
 .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c  | 28 ++-------
 drivers/gpu/drm/msm/msm_drv.h                 | 18 ------
 6 files changed, 45 insertions(+), 120 deletions(-)