[DPU PATCH 00/11] Remove unused code and cleanup devicetree bindings for DPU driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series aims at removing unused code from DPU driver and
also cleaning up its devicetree bindings.

Following functionality is removed in this series:
 - Removed display port driver, it will be posted back later after verification on SDM845
 - Removed HDCP 1.x support, it will be posted back with display port driver
 - Removed writeback support, it will be added at later stage based on DRM writeback connector series

Additionally, following cleanups are done:
 - Remove bus_scale config from devicetree and use static config in driver
 - Cleanup devicetree binding to model actual (tree like) HW hierarchy
 - Cleanup unused utility functions

This series is rebased on following:
 1. https://lists.freedesktop.org/archives/freedreno/2018-May/002502.html
 2. https://lists.freedesktop.org/archives/freedreno/2018-May/002565.html

Jordan Crouse (1):
  drm/msm/dpu: Remove unused code and move the header

Rajesh Yadav (10):
  dt-bindings: msm/disp: remove unused dsi & panel bindings
  dt-bindings: msm/disp: remove unused display port bindings
  Revert "drm/msm: Add DisplayPort support"
  dt-bindings: msm/disp: remove unused writeback bindings
  drm/msm/dpu: remove writeback support
  drm/msm/dpu: remove hdcp support
  drm/msm/dpu: remove dt parsing logic for bus_scale config
  dt-bindings: msm/disp: cleanup bindings for Snapdragon 845 DPU
  drm/msm/dpu: correct dpu_io_util.h include path
  drm/msm/dpu: move dpu_io_util to dpu folder

 .../devicetree/bindings/display/msm/dpu.txt        |  318 ++--
 .../devicetree/bindings/drm/msm/dpu-dp.txt         |  217 ---
 .../devicetree/bindings/drm/msm/dpu-dsi.txt        |  102 --
 .../devicetree/bindings/drm/msm/dpu-wb.txt         |   23 -
 .../devicetree/bindings/drm/msm/mdss-dsi-panel.txt |  772 ----------
 .../devicetree/bindings/fb/mdss-dsi-panel.txt      |  742 ---------
 Documentation/devicetree/bindings/fb/mdss-pll.txt  |  103 --
 drivers/gpu/drm/msm/Makefile                       |   21 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h           |    3 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c        |   94 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h        |    2 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h   |   63 -
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c    | 1349 -----------------
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c     |   41 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h     |   77 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c         |    3 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c         |   19 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h         |    6 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c         |   12 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h         |    4 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c          |  321 ----
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.h          |  186 ---
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c        |  186 +++
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h        |   61 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c            |    5 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h            |    1 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c          |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.c   |  253 ++--
 drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.h   |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c             |   42 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_wb.c             |  767 ----------
 drivers/gpu/drm/msm/disp/dpu1/dpu_wb.h             |  232 ---
 drivers/gpu/drm/msm/dp/dp_audio.c                  |  806 ----------
 drivers/gpu/drm/msm/dp/dp_audio.h                  |   81 -
 drivers/gpu/drm/msm/dp/dp_aux.c                    |  570 -------
 drivers/gpu/drm/msm/dp/dp_aux.h                    |   44 -
 drivers/gpu/drm/msm/dp/dp_catalog.c                | 1320 ----------------
 drivers/gpu/drm/msm/dp/dp_catalog.h                |  163 --
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   | 1474 ------------------
 drivers/gpu/drm/msm/dp/dp_ctrl.h                   |   50 -
 drivers/gpu/drm/msm/dp/dp_debug.c                  |  503 -------
 drivers/gpu/drm/msm/dp/dp_debug.h                  |   60 -
 drivers/gpu/drm/msm/dp/dp_display.c                | 1255 ----------------
 drivers/gpu/drm/msm/dp/dp_display.h                |   52 -
 drivers/gpu/drm/msm/dp/dp_drm.c                    |  538 -------
 drivers/gpu/drm/msm/dp/dp_drm.h                    |   96 --
 drivers/gpu/drm/msm/dp/dp_hdcp2p2.c                |  927 ------------
 drivers/gpu/drm/msm/dp/dp_link.c                   | 1548 -------------------
 drivers/gpu/drm/msm/dp/dp_link.h                   |  184 ---
 drivers/gpu/drm/msm/dp/dp_panel.c                  |  526 -------
 drivers/gpu/drm/msm/dp/dp_panel.h                  |  115 --
 drivers/gpu/drm/msm/dp/dp_parser.c                 |  645 --------
 drivers/gpu/drm/msm/dp/dp_parser.h                 |  200 ---
 drivers/gpu/drm/msm/dp/dp_power.c                  |  593 --------
 drivers/gpu/drm/msm/dp/dp_power.h                  |   56 -
 drivers/gpu/drm/msm/dp/dp_reg.h                    |  231 ---
 drivers/gpu/drm/msm/dp/dp_usbpd.c                  |  491 ------
 drivers/gpu/drm/msm/dp/dp_usbpd.h                  |  101 --
 drivers/gpu/drm/msm/dpu_hdcp.h                     |   74 -
 drivers/gpu/drm/msm/dpu_hdcp_1x.c                  | 1579 --------------------
 drivers/gpu/drm/msm/dpu_io_util.c                  |  556 -------
 drivers/gpu/drm/msm/msm_drv.h                      |    1 -
 include/drm/drm_dp_helper.h                        |   23 -
 include/linux/dpu_io_util.h                        |  115 --
 64 files changed, 556 insertions(+), 20450 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/drm/msm/dpu-dp.txt
 delete mode 100644 Documentation/devicetree/bindings/drm/msm/dpu-dsi.txt
 delete mode 100644 Documentation/devicetree/bindings/drm/msm/dpu-wb.txt
 delete mode 100644 Documentation/devicetree/bindings/drm/msm/mdss-dsi-panel.txt
 delete mode 100644 Documentation/devicetree/bindings/fb/mdss-dsi-panel.txt
 delete mode 100644 Documentation/devicetree/bindings/fb/mdss-pll.txt
 delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c
 delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c
 delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.h
 create mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c
 create mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h
 delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_wb.c
 delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_wb.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_audio.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_audio.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_aux.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_aux.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_catalog.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_catalog.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_ctrl.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_ctrl.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_debug.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_debug.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_display.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_display.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_drm.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_drm.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_hdcp2p2.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_link.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_link.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_panel.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_panel.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_parser.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_parser.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_power.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_power.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_reg.h
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_usbpd.c
 delete mode 100644 drivers/gpu/drm/msm/dp/dp_usbpd.h
 delete mode 100644 drivers/gpu/drm/msm/dpu_hdcp.h
 delete mode 100644 drivers/gpu/drm/msm/dpu_hdcp_1x.c
 delete mode 100644 drivers/gpu/drm/msm/dpu_io_util.c
 delete mode 100644 include/linux/dpu_io_util.h

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux