From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/11] drm/sun4i: Support two display pipelines
Date: Thu, 9 Mar 2017 18:05:23 +0800 [thread overview]
Message-ID: <20170309100534.14023-1-wens@csie.org> (raw)
Hi Maxime,
This is part 3 of my sun4i drm clean up series. In this part support
for 2 display pipelines is added, after some more code cleanups and
restructuring.
While this series enables the second display pipeline, there's no
usable output at the moment. For the A31, the second TCON's panel
interface uses the same pins as the Ethernet controller. However
Ethernet is used on most boards. We will have to wait for HDMI
support to actually use it.
Patch 1 fixes the TCON's clock and regmap initialization sequence,
splitting out the dot clock init part till after the regmap.
Patch 2 fixes a comment spotted while reviewing Maxime's HDMI patches.
Patch 3 makes the crtc init code use the tcon pointer embedded in the
crtc structure, instead of the sun4i_drv structure, to get the tcon's
output port node. This should have been a part of the last batch of
patches.
Patch 4 makes the tv encoder code get the tcon and backend pointers
from its attached crtc.
Patch 5 makes the crtc init function take tcon and backend pointers.
Patch 6 makes the layer init functions take a backend pointer.
Patch 7 adds a function to fetch a backend's ID from the device tree.
Patch 8 adds a function to fetch a TCON's ID from the device tree.
Patch 9 extends the sun4i drm driver to support 2 display pipelines.
Patch 10 adds device nodes for sun6i's second display pipeline.
Patch 11 enables sun6i's tcon0 by default.
Regards
ChenYu
Chen-Yu Tsai (11):
drm/sun4i: Fix TCON clock and regmap initialization sequence
drm/sun4i: Fix tcon channel 0 comment about backporch = backporch +
hsync
drm/sun4i: Use embedded tcon pointer to get the tcon's output port
node
drm/sun4i: tv: Get tcon and backend pointers from associated crtc
drm/sun4i: Pass pointers for associated backend and tcon into crtc
init
drm/sun4i: Pass pointer for underlying backend into layer init
drm/sun4i: Fetch backend ID from device tree
drm/sun4i: Fetch TCON ID from device tree
drm/sun4i: Support two display pipelines
ARM: dts: sun6i: Add second display pipeline device nodes
ARM: dts: sun6i: Enable tcon0 by default
arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 1 -
arch/arm/boot/dts/sun6i-a31.dtsi | 169 +++++++++++++++++++++++++++-
drivers/gpu/drm/sun4i/sun4i_backend.c | 53 ++++++++-
drivers/gpu/drm/sun4i/sun4i_backend.h | 2 +
drivers/gpu/drm/sun4i/sun4i_crtc.c | 13 ++-
drivers/gpu/drm/sun4i/sun4i_crtc.h | 4 +-
drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +-
drivers/gpu/drm/sun4i/sun4i_drv.h | 6 +-
drivers/gpu/drm/sun4i/sun4i_layer.c | 13 +--
drivers/gpu/drm/sun4i/sun4i_layer.h | 3 +-
drivers/gpu/drm/sun4i/sun4i_tcon.c | 99 ++++++++++++++--
drivers/gpu/drm/sun4i/sun4i_tcon.h | 2 +
drivers/gpu/drm/sun4i/sun4i_tv.c | 19 ++--
13 files changed, 344 insertions(+), 42 deletions(-)
--
2.11.0
next reply other threads:[~2017-03-09 10:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 10:05 Chen-Yu Tsai [this message]
2017-03-09 10:05 ` [PATCH 01/11] drm/sun4i: Fix TCON clock and regmap initialization sequence Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 02/11] drm/sun4i: Fix tcon channel 0 comment about backporch = backporch + hsync Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 03/11] drm/sun4i: Use embedded tcon pointer to get the tcon's output port node Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 04/11] drm/sun4i: tv: Get tcon and backend pointers from associated crtc Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 05/11] drm/sun4i: Pass pointers for associated backend and tcon into crtc init Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 06/11] drm/sun4i: Pass pointer for underlying backend into layer init Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 07/11] drm/sun4i: Fetch backend ID from device tree Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 08/11] drm/sun4i: Fetch TCON " Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 09/11] drm/sun4i: Support two display pipelines Chen-Yu Tsai
2017-03-09 10:36 ` Maxime Ripard
2017-03-09 11:20 ` Chen-Yu Tsai
2017-03-09 14:40 ` Maxime Ripard
2017-04-07 17:30 ` Chen-Yu Tsai
2017-04-18 9:57 ` Maxime Ripard
2017-04-18 10:10 ` Chen-Yu Tsai
2017-04-20 7:36 ` Maxime Ripard
2017-03-09 10:05 ` [PATCH 10/11] ARM: dts: sun6i: Add second display pipeline device nodes Chen-Yu Tsai
2017-03-09 10:05 ` [PATCH 11/11] ARM: dts: sun6i: Enable tcon0 by default Chen-Yu Tsai
2017-03-09 10:29 ` [PATCH 00/11] drm/sun4i: Support two display pipelines Maxime Ripard
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=20170309100534.14023-1-wens@csie.org \
--to=wens@csie.org \
--cc=linux-arm-kernel@lists.infradead.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