[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251115141347.13087-1-jernej.skrabec@gmail.com>
Date: Sat, 15 Nov 2025 15:13:40 +0100
From: Jernej Skrabec <jernej.skrabec@...il.com>
To: wens@...e.org,
samuel@...lland.org
Cc: mripard@...nel.org,
maarten.lankhorst@...ux.intel.com,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
mturquette@...libre.com,
sboyd@...nel.org,
dri-devel@...ts.freedesktop.org,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org,
Jernej Skrabec <jernej.skrabec@...il.com>
Subject: [PATCH 0/7] drm/sun4i: update DE33 support
This is second series out of tree which aims at properly introducing
support for H616 Display Engine 3.3. Previous series [1] reorganized
driver so proper DE33 support can be easily implemented.
H616 DE33 support was actually introduced a while back, but it was done
without fully understanding hardware design. Fortunately, no user of
H616 DE33 binding was introduced, so we have a chance to update bindings
and introduce proper DE33 support. Issue with existing binding is that it
considers planes as resource which is hardwired to each mixer as it was
done on older Display Engine generations (DE3 and lower). That is not the
case anymore. This series introduces new driver for planes management,
which allows doing proper plane assignments.
Remaining patches, which introduce all the missing bits to fully support
display pipeline on H616 SoC, will be sent once this series is merged.
WIP patches, which can be used for testing purposes, can be found at [2].
Please take a look.
Best regards,
Jernej
[1] https://lore.kernel.org/linux-sunxi/20251104180942.61538-1-jernej.skrabec@gmail.com/T/#t
[2] https://github.com/jernejsk/linux-1/commits/sun4i-drm-refactor/
Jernej Skrabec (7):
drm/sun4i: Add support for DE33 CSC
drm/sun4i: vi_layer: Limit formats for DE33
clk: sunxi-ng: de2: Export register regmap for DE33
dt-bindings: display: allwinner: Add DE33 planes
drm/sun4i: Add planes driver
dt-bindings: display: allwinner: Update H616 DE33 binding
drm/sun4i: switch DE33 to new bindings
.../allwinner,sun50i-h616-de33-planes.yaml | 44 ++++
.../allwinner,sun8i-a83t-de2-mixer.yaml | 16 +-
drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 53 ++++-
drivers/gpu/drm/sun4i/Kconfig | 8 +
drivers/gpu/drm/sun4i/Makefile | 1 +
drivers/gpu/drm/sun4i/sun50i_planes.c | 205 ++++++++++++++++++
drivers/gpu/drm/sun4i/sun50i_planes.h | 43 ++++
drivers/gpu/drm/sun4i/sun8i_csc.c | 71 ++++++
drivers/gpu/drm/sun4i/sun8i_csc.h | 5 +
drivers/gpu/drm/sun4i/sun8i_mixer.c | 130 ++++++-----
drivers/gpu/drm/sun4i/sun8i_mixer.h | 10 +-
drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 36 ++-
12 files changed, 543 insertions(+), 79 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun50i-h616-de33-planes.yaml
create mode 100644 drivers/gpu/drm/sun4i/sun50i_planes.c
create mode 100644 drivers/gpu/drm/sun4i/sun50i_planes.h
--
2.51.2
Powered by blists - more mailing lists