From: Sam Ravnborg <sam@ravnborg.org>
To: dri-devel@lists.freedesktop.org,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Robert Foss <robert.foss@linaro.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Benson Leung <bleung@chromium.org>,
Cai Huoqing <cai.huoqing@linux.dev>,
chrome-platform@lists.linux.dev,
Chun-Kuang Hu <chunkuang.hu@kernel.org>,
Dafna Hirschfeld <dafna.hirschfeld@collabora.com>,
Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@linux.ie>,
Enric Balletbo i Serra <enric.balletbo@collabora.com>,
Guenter Roeck <groeck@chromium.org>,
Jitao Shi <jitao.shi@mediatek.com>,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
linux-renesas-soc@vger.kernel.org,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Maxime Ripard <mripard@kernel.org>,
Philip Chen <philipchen@chromium.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Sam Ravnborg <sam@ravnborg.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Subject: [PATCH v1 0/12] drm bridge updates
Date: Sun, 17 Jul 2022 19:44:42 +0200 [thread overview]
Message-ID: <20220717174454.46616-1-sam@ravnborg.org> (raw)
This is a collection of bridge patches that I had left unfinished
more than a year ago. Now where I have some spare time I dusted them
off for review and testing.
The patches builds, but has seen no run-time testing.
The patches are grouped like this:
1+2:
- Updates parade-ps8640 for atomic operation thus allowing
the use of the atomic variants of drm_bridge_chain_pre_enable/
post_disable.
There is thus no users left of the non-atomic variants of
drm_bridge_chain* so drop them all.
If other drivers needs this functionality they are supposed
to use the atomic API.
This is a DSI to eDP converter, and I did not see a need for
format negotiation - but I may be wrong?
3+4:
- Drop chain_mode_fixup in mediatek, and as there are no more
users, drop the implementation of drm_bridge_chain_mode_fixup.
The crucial part to review is the updated documentation for
drm_bridge_funcs.atomic_check().
5-11:
- Convert all bridge drivers from mode_fixup to atomic_check.
To do so add the necessary hooks to have an atomic state.
I think the drivers will work using the atomic API,
but it has seen no testing!
I did not see any need for format negotiation, but if needed
let me know so we can fix it.
The last patch removes the mode_fixup support in drm_bridge.
12:
- Add a few todo items, in the hope others will jump in and
convert some of the bridge drivers to the atomic API.
The patch groups are more or less independent, and I may land them out
of order if one group is reviewed before the rest.
A few of the patches has already seen a review, but they need a
bit more exposure as last review was more than a year ago.
Sam
Sam Ravnborg (12):
drm/bridge: ps8640: Use atomic variants of drm_bridge_funcs
drm/bridge: Drop unused drm_bridge_chain functions
drm/mediatek: Drop chain_mode_fixup call in mode_valid()
drm/bridge: Drop drm_bridge_chain_mode_fixup
drm/bridge: sii8620: Use drm_bridge_funcs.atomic_check
drm/bridge: cros-ec-anx7688: Use drm_bridge_funcs.atomic_check
drm/bridge: tc358767: Use drm_bridge_funcs.atomic_check
drm/mediatek: Drop mtk_hdmi_bridge_mode_fixup
drm/rcar-du: lvds: Use drm_bridge_funcs.atomic_check
drm/omapdrm: Use drm_bridge_funcs.atomic_check
drm/bridge: Drop drm_bridge_funcs.mode_fixup
drm/todo: Add bridge related todo items
Documentation/gpu/todo.rst | 20 ++++
drivers/gpu/drm/bridge/cros-ec-anx7688.c | 28 ++++--
drivers/gpu/drm/bridge/parade-ps8640.c | 18 ++--
drivers/gpu/drm/bridge/sil-sii8620.c | 17 ++--
drivers/gpu/drm/bridge/tc358767.c | 21 ++---
drivers/gpu/drm/drm_bridge.c | 154 +------------------------------
drivers/gpu/drm/mediatek/mtk_hdmi.c | 19 ----
drivers/gpu/drm/omapdrm/dss/dpi.c | 31 ++++---
drivers/gpu/drm/omapdrm/dss/sdi.c | 31 ++++---
drivers/gpu/drm/omapdrm/dss/venc.c | 28 ++++--
drivers/gpu/drm/rcar-du/rcar_lvds.c | 12 ++-
include/drm/drm_bridge.h | 91 ++++--------------
12 files changed, 147 insertions(+), 323 deletions(-)
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-07-17 17:47 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-17 17:44 Sam Ravnborg [this message]
2022-07-17 17:44 ` [PATCH v1 01/12] drm/bridge: ps8640: Use atomic variants of drm_bridge_funcs Sam Ravnborg
2022-09-19 15:17 ` Laurent Pinchart
2022-07-17 17:44 ` [PATCH v1 02/12] drm/bridge: Drop unused drm_bridge_chain functions Sam Ravnborg
2022-07-17 17:44 ` [PATCH v1 03/12] drm/mediatek: Drop chain_mode_fixup call in mode_valid() Sam Ravnborg
2022-09-18 4:45 ` Chun-Kuang Hu
2022-09-19 15:18 ` Laurent Pinchart
2022-07-17 17:44 ` [PATCH v1 04/12] drm/bridge: Drop drm_bridge_chain_mode_fixup Sam Ravnborg
2022-09-19 15:19 ` Laurent Pinchart
2022-07-17 17:44 ` [PATCH v1 05/12] drm/bridge: sii8620: Use drm_bridge_funcs.atomic_check Sam Ravnborg
2022-07-19 13:59 ` Dave Stevenson
2022-09-19 15:27 ` Laurent Pinchart
2022-07-17 17:44 ` [PATCH v1 06/12] drm/bridge: cros-ec-anx7688: " Sam Ravnborg
2022-07-19 14:03 ` Dave Stevenson
2022-09-19 15:28 ` Laurent Pinchart
2022-07-17 17:44 ` [PATCH v1 07/12] drm/bridge: tc358767: " Sam Ravnborg
2022-07-19 14:08 ` Dave Stevenson
2022-09-19 15:29 ` Laurent Pinchart
2022-09-19 15:38 ` Laurent Pinchart
2022-07-17 17:57 ` [PATCH v1 08/12] drm/mediatek: Drop mtk_hdmi_bridge_mode_fixup Sam Ravnborg
2022-07-17 17:57 ` [PATCH v1 09/12] drm/rcar-du: lvds: Use drm_bridge_funcs.atomic_check Sam Ravnborg
2022-07-19 14:11 ` Dave Stevenson
2022-09-19 15:31 ` Laurent Pinchart
2022-07-17 17:57 ` [PATCH v1 10/12] drm/omapdrm: " Sam Ravnborg
2022-09-19 15:33 ` Laurent Pinchart
2022-07-17 17:58 ` [PATCH v1 11/12] drm/bridge: Drop drm_bridge_funcs.mode_fixup Sam Ravnborg
2022-07-19 14:22 ` Dave Stevenson
2022-09-19 15:34 ` Laurent Pinchart
2022-07-17 17:58 ` [PATCH v1 12/12] drm/todo: Add bridge related todo items Sam Ravnborg
2022-07-18 10:27 ` Dave Stevenson
2022-07-18 18:00 ` Sam Ravnborg
2022-07-19 10:47 ` Dave Stevenson
2022-07-19 14:09 ` [PATCH v1 08/12] drm/mediatek: Drop mtk_hdmi_bridge_mode_fixup Dave Stevenson
2022-09-18 4:46 ` Chun-Kuang Hu
2022-09-19 15:30 ` Laurent Pinchart
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=20220717174454.46616-1-sam@ravnborg.org \
--to=sam@ravnborg.org \
--cc=airlied@linux.ie \
--cc=andrzej.hajda@intel.com \
--cc=arnd@arndb.de \
--cc=bleung@chromium.org \
--cc=cai.huoqing@linux.dev \
--cc=chrome-platform@lists.linux.dev \
--cc=chunkuang.hu@kernel.org \
--cc=dafna.hirschfeld@collabora.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=enric.balletbo@collabora.com \
--cc=groeck@chromium.org \
--cc=jernej.skrabec@gmail.com \
--cc=jitao.shi@mediatek.com \
--cc=jonas@kwiboo.se \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthias.bgg@gmail.com \
--cc=mripard@kernel.org \
--cc=narmstrong@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=philipchen@chromium.org \
--cc=robert.foss@linaro.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tzimmermann@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).