[DPU PATCH v2 0/3] List of patches for DP drivers on SnapDragon

Chandan Uddaraju chandanu at codeaurora.org
Mon Jan 7 20:51:08 UTC 2019


These patches are to enable DisplayPort driver on SanpDragon.

These patches have dependency on clock driver changes that
provide DP clock support.

Changes in V2:
  Core Dp driver:
     -- Update copyright markings on all relevant files.
     -- Change pr_err() to DRM_ERROR()
     -- Use APIs directly instead of function pointers.
     -- Use drm_display_mode structure to store link parameters in the driver.
     -- Use macros for register definitions instead of hardcoded values in dp_catalog.c file.
     -- Replace writel_relaxed/readl_relaxed with writel/readl and remove memory barriers.
     -- Remove unnecessary NULL checks.
     -- Use drm helper functions for dpcd read/write.
     -- Use DRM_DEBUG_DP for debug msgs.
  DP PLL driver:
     -- Update copyright markings on all relevant files.
     -- Use DRM_DEBUG_DP for debug msgs.


Chandan Uddaraju (3):
  dt-bindings: msm/dp: add bindings of DP/DP-PLL driver for Snapdragon
    845
  drm/msm/dp: add displayPort driver support
  drm/msm/dp: add support for DP PLL driver

 .../devicetree/bindings/display/msm/dp.txt         |  249 +++
 .../devicetree/bindings/display/msm/dpu.txt        |   16 +-
 drivers/gpu/drm/msm/Kconfig                        |   24 +
 drivers/gpu/drm/msm/Makefile                       |   18 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c        |   20 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c        |    2 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h        |   26 +
 drivers/gpu/drm/msm/dp/dp_aux.c                    |  548 +++++++
 drivers/gpu/drm/msm/dp/dp_aux.h                    |   37 +
 drivers/gpu/drm/msm/dp/dp_catalog.c                |  996 ++++++++++++
 drivers/gpu/drm/msm/dp/dp_catalog.h                |  108 ++
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   | 1611 ++++++++++++++++++++
 drivers/gpu/drm/msm/dp/dp_ctrl.h                   |   36 +
 drivers/gpu/drm/msm/dp/dp_display.c                |  991 ++++++++++++
 drivers/gpu/drm/msm/dp/dp_display.h                |   31 +
 drivers/gpu/drm/msm/dp/dp_drm.c                    |  189 +++
 drivers/gpu/drm/msm/dp/dp_drm.h                    |   20 +
 drivers/gpu/drm/msm/dp/dp_extcon.c                 |  228 +++
 drivers/gpu/drm/msm/dp/dp_extcon.h                 |   85 ++
 drivers/gpu/drm/msm/dp/dp_link.c                   | 1216 +++++++++++++++
 drivers/gpu/drm/msm/dp/dp_link.h                   |  132 ++
 drivers/gpu/drm/msm/dp/dp_panel.c                  |  504 ++++++
 drivers/gpu/drm/msm/dp/dp_panel.h                  |   91 ++
 drivers/gpu/drm/msm/dp/dp_parser.c                 |  621 ++++++++
 drivers/gpu/drm/msm/dp/dp_parser.h                 |  199 +++
 drivers/gpu/drm/msm/dp/dp_power.c                  |  733 +++++++++
 drivers/gpu/drm/msm/dp/dp_power.h                  |   52 +
 drivers/gpu/drm/msm/dp/dp_reg.h                    |  475 ++++++
 drivers/gpu/drm/msm/dp/pll/dp_pll.c                |  145 ++
 drivers/gpu/drm/msm/dp/pll/dp_pll.h                |   56 +
 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.c           |  393 +++++
 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.h           |   86 ++
 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm_util.c      |  522 +++++++
 drivers/gpu/drm/msm/msm_drv.c                      |    2 +
 drivers/gpu/drm/msm/msm_drv.h                      |   41 +
 35 files changed, 10499 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/msm/dp.txt
 create mode 100644 drivers/gpu/drm/msm/dp/dp_aux.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_aux.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_catalog.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_catalog.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_ctrl.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_ctrl.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_display.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_display.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_drm.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_drm.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_extcon.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_extcon.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_link.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_link.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_panel.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_panel.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_parser.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_parser.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_power.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_power.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_reg.h
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll.c
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll.h
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.c
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.h
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm_util.c

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



More information about the dri-devel mailing list