[GIT PULL FOR v6.2] Xilinx ZynqMP DisplayPort bridge support

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Oct 24 23:18:43 UTC 2022


Hi Dave, Daniel,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://linuxtv.org/pinchartl/media.git tags/drm-next-20221025

for you to fetch changes up to ddcb8fa6514f2baf0fdb45e7ba12fbf3abb112c7:

  arm64: dts: zynqmp: zcu106a: Describe DisplayPort connector (2022-10-21 01:59:01 +0300)

The branch contains two patches for the ZynqMP device tree. They have
been acked by Michal (on CC) for merge through the DRM tree.

----------------------------------------------------------------
Xilinx ZynqMP DisplayPort bridge support

----------------------------------------------------------------
Laurent Pinchart (37):
      dt-bindings: display: xlnx: zynqmp-dpsub: Add OF graph ports
      drm: xlnx: zynqmp_dpsub: Switch to atomic encoder enable/disable
      drm: xlnx: zynqmp_dpsub: Constify mode argument to function
      drm: xlnx: zynqmp_dpsub: Create DRM bridge to model DP encoder
      drm: xlnx: zynqmp_dpsub: Don't access connector in zynqmp_dp_set_format()
      drm: xlnx: zynqmp_dpsub: Move connector registration to bridge attach
      drm: xlnx: zynqmp_dpsub: Move encoder to DPSUB core
      drm: xlnx: zynqmp_dpsub: Attach to the next bridge
      drm: xlnx: zynqmp_dpsub: Use DRM connector bridge helper
      drm: xlnx: zynqmp_dpsub: Report HPD through the bridge
      drm: xlnx: zynqmp_dpsub: Drop unused zynqmp_disp.event field
      drm: xlnx: zynqmp_dpsub: Drop unused zynqmp_disp_format.bus_fmt field
      drm: xlnx: zynqmp_dpsub: Don't pass CRTC to zynqmp_disp_setup_clock()
      drm: xlnx: zynqmp_dpsub: Configure blender in zynqmp_disp_enable()
      drm: xlnx: zynqmp_dpsub: Use local variable in zynqmp_disp_layer_update()
      drm: xlnx: zynqmp_dpsub: Pass format info to zynqmp_disp_layer_set_format()
      drm: xlnx: zynqmp_dpsub: Remplace hardcoded values with ARRAY_SIZE()
      drm: xlnx: zynqmp_dpsub: Don't use drmm_kcalloc() for temporary data
      drm: xlnx: zynqmp_dpsub: Move pclk from zynqmp_disp to zynqmp_dpsub
      drm: xlnx: zynqmp_dpsub: Move audio clk from zynqmp_disp to zynqmp_dpsub
      drm: xlnx: zynqmp_dpsub: Move CRTC to zynqmp_dpsub structure
      drm: xlnx: zynqmp_dpsub: Move planes to zynqmp_dpsub structure
      drm: xlnx: zynqmp_dpsub: Move DRM/KMS initialization to separate file
      drm: xlnx: zynqmp_dpsub: Move CRTC handling to zynqmp_kms.c
      drm: xlnx: zynqmp_dpsub: Move planes handling to zynqmp_kms.c
      drm: xlnx: zynqmp_dpsub: Register AUX bus at bridge attach time
      drm: xlnx: zynqmp_dpsub: Move DP bridge init to zynqmp_dp_probe()
      drm: xlnx: zynqmp_dpsub: Manage DP and DISP allocations manually
      drm: xlnx: zynqmp_dpsub: Move all DRM init and cleanup to zynqmp_kms.c
      drm: xlnx: zynqmp_dpsub: Decouple DRM device from zynqmp_dpsub
      drm: xlnx: zynqmp_dpsub: Rename zynqmp_dpsub_handle_vblank with DRM prefix
      drm: xlnx: zynqmp_dpsub: Parse DT to find connected ports
      drm: xlnx: zynqmp_dpsub: Allow configuration of layer mode
      drm: xlnx: zynqmp_dpsub: Support operation without DMA engine
      drm: xlnx: zynqmp_dpsub: Add support for live video input
      arm64: dts: zynqmp: Add ports for the DisplayPort subsystem
      arm64: dts: zynqmp: zcu106a: Describe DisplayPort connector

 .../bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml   |  67 +++
 arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts  |  20 +
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi             |  24 +
 drivers/gpu/drm/xlnx/Makefile                      |   2 +-
 drivers/gpu/drm/xlnx/zynqmp_disp.c                 | 646 ++++-----------------
 drivers/gpu/drm/xlnx/zynqmp_disp.h                 |  48 +-
 drivers/gpu/drm/xlnx/zynqmp_dp.c                   | 482 ++++++++-------
 drivers/gpu/drm/xlnx/zynqmp_dp.h                   |   4 +-
 drivers/gpu/drm/xlnx/zynqmp_dpsub.c                | 316 +++++-----
 drivers/gpu/drm/xlnx/zynqmp_dpsub.h                |  46 +-
 drivers/gpu/drm/xlnx/zynqmp_kms.c                  | 534 +++++++++++++++++
 drivers/gpu/drm/xlnx/zynqmp_kms.h                  |  46 ++
 12 files changed, 1336 insertions(+), 899 deletions(-)
 create mode 100644 drivers/gpu/drm/xlnx/zynqmp_kms.c
 create mode 100644 drivers/gpu/drm/xlnx/zynqmp_kms.h

-- 
Regards,

Laurent Pinchart


More information about the dri-devel mailing list