Skip to content

drm/meson: Add G12A Support

Neil Armstrong dri-devel linux-amlogic lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/meson: Switch PLL to 5.94GHz base for 297Mhz pixel clockdrivers/gpu/drm/meson/meson_vclk.c+2 -20 replies
2/11drm/meson: Add registers for G12A SoCdrivers/gpu/drm/meson/meson_registers.h+247 -00 replies
3/11drm/meson: Add G12A Support for VPP setupdrivers/gpu/drm/meson/meson_vpp.c+29 -220 replies
4/11drm/meson: Add G12A Support for VIU setupdrivers/gpu/drm/meson/meson_viu.c+67 -52 replies
5/11drm/meson: Add G12A support for OSD1 Planedrivers/gpu/drm/meson/meson_plane.c+13 -20 replies
6/11drm/meson: Add G12A Support for the Overlay video planedrivers/gpu/drm/meson/meson_overlay.c+8 -22 replies
7/11drm/meson: Add G12A support for plane handling in CRTC driverdrivers/gpu/drm/meson/meson_crtc.c drivers/gpu/drm/meson/meson_drv.h+221 -522 replies
8/11drm/meson: Add G12A support for CVBS Encoerdrivers/gpu/drm/meson/meson_venc.c drivers/gpu/drm/meson/meson_venc_cvbs.c+27 -94 replies
9/11drm/meson: Add G12A Video Clock setupdrivers/gpu/drm/meson/meson_vclk.c+108 -112 replies
10/11drm/meson: Add G12A compatibledrivers/gpu/drm/meson/meson_drv.c+1 -00 replies
11/11drm/meson: Add G12A support for the DW-HDMI Gluedrivers/gpu/drm/meson/meson_dw_hdmi.c drivers/gpu/drm/meson/meson_dw_hdmi.h+157 -380 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJerome Brunet
SeriesT-b R-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] drm/meson: Add G12A Support

The Amlogic G12A SoC offers very close Video Display functionnalities with it's older GXBB, GXL & GXM predecessors.

The main differences are :
- G12A Support now 3 "real" OSD planes with a new Blender module
- Instead of having a single Scaler for OSD1, G12A has two scaler that can be applied to 2 out of the 3 OSD planes or on the outputs of the blender module.
- The HDMI PHY now support RX-SENSE, Dynamic HDR and it's registers are now memory mapped instead of using an internal bus.
- The VPU now support a DSI interface to connect a display, using the Synopsys DSI controller and a custom PHY

The complex Blender routing, HDMI RX-SENSE, Dynamic HDR and DSI support are not handled in this patchset.

This patchset implements on-par support with the currently support GXBB, GXL and GXM SoCs. There is no support delta with this patchset.

patch 10 & 11 implements the bindings found at [1].

[1] https://lkml.kernel.org/r/[email protected]

Neil Armstrong (11):
drm/meson: Switch PLL to 5.94GHz base for 297Mhz pixel clock drm/meson: Add registers for G12A SoC
drm/meson: Add G12A Support for VPP setup drm/meson: Add G12A Support for VIU setup drm/meson: Add G12A support for OSD1 Plane drm/meson: Add G12A Support for the Overlay video plane drm/meson: Add G12A support for plane handling in CRTC driver drm/meson: Add G12A support for CVBS Encoer drm/meson: Add G12A Video Clock setup
drm/meson: Add G12A compatible
drm/meson: Add G12A support for the DW-HDMI Glue

 drivers/gpu/drm/meson/meson_crtc.c      | 269 +++++++++++++++++++-----
 drivers/gpu/drm/meson/meson_drv.c       |   1 +
 drivers/gpu/drm/meson/meson_drv.h       |   4 +
 drivers/gpu/drm/meson/meson_dw_hdmi.c   | 163 +++++++++++---
 drivers/gpu/drm/meson/meson_dw_hdmi.h   |  32 ++-
 drivers/gpu/drm/meson/meson_overlay.c   |  10 +-
 drivers/gpu/drm/meson/meson_plane.c     |  15 +-
 drivers/gpu/drm/meson/meson_registers.h | 247 ++++++++++++++++++++++
 drivers/gpu/drm/meson/meson_vclk.c      | 123 +++++++++--
 drivers/gpu/drm/meson/meson_venc.c      |  11 +-
 drivers/gpu/drm/meson/meson_venc_cvbs.c |  25 ++-
 drivers/gpu/drm/meson/meson_viu.c       |  72 ++++++-
 drivers/gpu/drm/meson/meson_vpp.c       |  51 +++--
 13 files changed, 880 insertions(+), 143 deletions(-)
Signature · 1 line
2.21.0