From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: Chen-Yu Tsai <wens@kernel.org>,
Samuel Holland <samuel@sholland.org>,
Maxime Ripard <mripard@kernel.org>,
Daniel Golle <daniel@makrotopia.org>,
Alastair D'Silva <alastair@d-silva.org>
Cc: Andre Przywara <andre.przywara@arm.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
Neil Armstrong <neil.armstrong@linaro.org>,
Dmitry Baryshkov <lumag@kernel.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
Alastair D'Silva <alastair@d-silva.org>
Subject: Re: [RFC PATCH 00/13] drm/sun4i: Add Allwinner A733 DE3.5 and DW-HDMI 2.0 support
Date: Mon, 30 Nov 2026 16:13:25 +0100 [thread overview]
Message-ID: <GqsRZPNfSYSCQ0c3lKWUbQ@gmail.com> (raw)
In-Reply-To: <20261130020758.3593663-1-alastair@d-silva.org>
Dne ponedeljek, 30. november 2026 ob 03:07:45 Srednjeevropski standardni čas je Alastair D'Silva napisal(a):
> This RFC series adds Allwinner A733 (sun60i-a733) HDMI display support:
> - DE3.5 RCQ DMA commit helper, planes, and mixer support
> - TCON TOP1 and TCON TV0 support with runtime PM
> - DW-HDMI 2.0 and TOP PHY support with system-control RESCAL calibration
> - Device tree bindings, SoC pipeline, and board HDMI enablement for
> Xunlong OrangePi 4 Pro, Radxa Cubie A7A, and Radxa Cubie A7Z
>
> I am posting this early as an RFC because Daniel Golle expressed
> interest in collaborating on A733 display support, and we want to do
> that work in the open. There is no rush for maintainer review while the
> existing A733 patch queue clears.
Stop. Just stop for a moment. This is getting ridiculous, with all the
patches you sent in a few days. Some of them v2, with possibly no human
reviewer saying any word. This is a good way to become ignored.
sun4i-drm driver for DE2 and onwards needs architecture fix in order to
clear up technical debt accumulated over the years, when we didn't know
better.
Throwing AI task to add support for newer hardware only adds technical
debt. It just adds new code while keeping original as-is as much as
possible. Such approach just makes spaghetti code which is getting worse
and worse.
I actually have patches prepared, but of course, wide testing needs a lot
of time. Every detail have to be checked, on DE2, DE3 and DE33 devices.
It's comming close to the end. And of course, it will be splitted into 4
series. Main fix is to program registers at the right time, avoiding all
glitches which can be triggered in some cases. With that in, you'll see
that RCQ support becomes just opmitization, not a requirement.
When this series become relevant, e.g. when all prerequisite patches are
actually merged, my arch fix will be long posted. At that time, you will have to
do just minor adjustments and new compatibles.
Jernej
>
> Tested on Xunlong OrangePi 4 Pro:
> - Cold-boot HDMI console (1920x1080)
> - X11 modesetting driver (/dev/dri/card0)
> - 60 Hz VSync page-flipping (modetest -v)
> - Multi-plane hardware overlays, alpha, zpos, and 10-bit RGB (AR30)
> - Dynamic mode switching (1920x1080, 1280x720, 1024x768)
>
> Radxa Cubie A7A and Cubie A7Z HDMI enablement is schema- and
> compile-tested only.
>
> Prerequisites (not yet merged in linux-next):
> [PATCH 0/3] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
> https://lore.kernel.org/r/20261125124407.4098345-1-alastair@d-silva.org
>
> [PATCH] pmdomain: sunxi: pck600: Initialize pd->pck in probe
> https://lore.kernel.org/r/20261127080625.1982574-1-alastair@d-silva.org
>
> [PATCH v2] arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain controller
> https://lore.kernel.org/r/20261130005242.3366676-1-alastair@d-silva.org
>
> Alastair D'Silva (13):
> dt-bindings: sram: sunxi: Add A733 system-control compatible
> dt-bindings: display: sun4i: Document A733 DE3.5 display pipeline
> dt-bindings: display: sun4i: Document A733 TCON TOP, TCON TV, and HDMI
> soc: sunxi: sram: Add A733 system-control RESCAL support
> drm/sun4i: Add A733 TCON TOP1 and TCON TV0 support
> drm/bridge: dw-hdmi: Export dw_hdmi_phy_enable_svsret()
> drm/sun4i: Add A733 DW-HDMI 2.0 and TOP PHY support
> drm/sun4i: Add A733 DE3.5 RCQ helper
> drm/sun4i: Add A733 DE3.5 planes and mixer support
> arm64: dts: allwinner: sun60i-a733: Add DE3.5 and HDMI display
> pipeline
> arm64: dts: allwinner: orangepi-4-pro: Enable HDMI output
> arm64: dts: allwinner: cubie-a7a: Enable HDMI output
> arm64: dts: allwinner: cubie-a7z: Enable HDMI output
>
> .../allwinner,sun4i-a10-display-engine.yaml | 1 +
> .../display/allwinner,sun4i-a10-tcon.yaml | 19 +
> .../allwinner,sun50i-h616-de33-planes.yaml | 13 +-
> .../allwinner,sun8i-a83t-de2-mixer.yaml | 46 ++-
> .../display/allwinner,sun8i-a83t-dw-hdmi.yaml | 142 +++++---
> .../allwinner,sun8i-a83t-hdmi-phy.yaml | 148 +++++---
> .../display/allwinner,sun8i-r40-tcon-top.yaml | 44 ++-
> .../allwinner,sun4i-a10-system-control.yaml | 1 +
> .../dts/allwinner/sun60i-a733-cubie-a7a.dts | 26 ++
> .../dts/allwinner/sun60i-a733-cubie-a7z.dts | 26 ++
> .../allwinner/sun60i-a733-orangepi-4-pro.dts | 32 ++
> .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 186 ++++++++++
> drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +-
> drivers/gpu/drm/sun4i/Makefile | 2 +-
> drivers/gpu/drm/sun4i/sun4i_drv.c | 10 +-
> drivers/gpu/drm/sun4i/sun4i_tcon.c | 74 +++-
> drivers/gpu/drm/sun4i/sun4i_tcon.h | 8 +
> drivers/gpu/drm/sun4i/sun50i_planes.c | 98 ++++--
> drivers/gpu/drm/sun4i/sun50i_planes.h | 5 +
> drivers/gpu/drm/sun4i/sun60i_de35_rcq.c | 220 ++++++++++++
> drivers/gpu/drm/sun4i/sun60i_de35_rcq.h | 44 +++
> drivers/gpu/drm/sun4i/sun8i_csc.c | 3 +-
> drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 114 +++++-
> drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 7 +
> drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 333 ++++++++++++++++++
> drivers/gpu/drm/sun4i/sun8i_mixer.c | 200 +++++++++--
> drivers/gpu/drm/sun4i/sun8i_mixer.h | 31 +-
> drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 61 +++-
> drivers/gpu/drm/sun4i/sun8i_tcon_top.h | 3 +
> drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 12 +-
> drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 6 +
> drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 2 +
> drivers/gpu/drm/sun4i/sun8i_vi_scaler.c | 3 +-
> drivers/soc/sunxi/sunxi_sram.c | 18 +-
> include/drm/bridge/dw_hdmi.h | 2 +
> 35 files changed, 1736 insertions(+), 207 deletions(-)
> create mode 100644 drivers/gpu/drm/sun4i/sun60i_de35_rcq.c
> create mode 100644 drivers/gpu/drm/sun4i/sun60i_de35_rcq.h
>
>
> base-commit: 3ce19e522a53b81f208b340b30534515f7f12b9c
> prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
> prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
> prerequisite-patch-id: 4a4aed175e3d69b1962a9225cd0eb47cdad600fc
> prerequisite-patch-id: b302709123a938272f5ddc8f88e269c0ef3e7cf3
>
prev parent reply other threads:[~2026-11-30 15:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 2:07 [RFC PATCH 00/13] drm/sun4i: Add Allwinner A733 DE3.5 and DW-HDMI 2.0 support Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 01/13] dt-bindings: sram: sunxi: Add A733 system-control compatible Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 02/13] dt-bindings: display: sun4i: Document A733 DE3.5 display pipeline Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 03/13] dt-bindings: display: sun4i: Document A733 TCON TOP, TCON TV, and HDMI Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 04/13] soc: sunxi: sram: Add A733 system-control RESCAL support Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 05/13] drm/sun4i: Add A733 TCON TOP1 and TCON TV0 support Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 06/13] drm/bridge: dw-hdmi: Export dw_hdmi_phy_enable_svsret() Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 07/13] drm/sun4i: Add A733 DW-HDMI 2.0 and TOP PHY support Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 08/13] drm/sun4i: Add A733 DE3.5 RCQ helper Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 09/13] drm/sun4i: Add A733 DE3.5 planes and mixer support Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 10/13] arm64: dts: allwinner: sun60i-a733: Add DE3.5 and HDMI display pipeline Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 11/13] arm64: dts: allwinner: orangepi-4-pro: Enable HDMI output Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 12/13] arm64: dts: allwinner: cubie-a7a: " Alastair D'Silva
2026-11-30 2:07 ` [RFC PATCH 13/13] arm64: dts: allwinner: cubie-a7z: " Alastair D'Silva
2026-11-30 15:13 ` Jernej Škrabec [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=GqsRZPNfSYSCQ0c3lKWUbQ@gmail.com \
--to=jernej.skrabec@gmail.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=alastair@d-silva.org \
--cc=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=daniel@makrotopia.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=luca.ceresoli@bootlin.com \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=wens@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox