From: Boris Brezillon <boris.brezillon@collabora.com>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: dri-devel@lists.freedesktop.org,
Mark Rutland <mark.rutland@arm.com>,
Thierry Reding <thierry.reding@gmail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
kernel@collabora.com, Sam Ravnborg <sam@ravnborg.org>,
Nikita Yushchenko <nikita.yoush@cogentembedded.com>,
Andrey Smirnov <andrew.smirnov@gmail.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chris Healy <cphealy@gmail.com>,
devicetree@vger.kernel.org, Jonas Karlman <jonas@kwiboo.se>,
Rob Herring <robh+dt@kernel.org>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Seung-Woo Kim <sw0312.kim@samsung.com>
Subject: Re: [PATCH v6 0/4] drm: Add support for bus-format negotiation
Date: Mon, 6 Jan 2020 15:37:29 +0100 [thread overview]
Message-ID: <20200106153729.7293f7e0@collabora.com> (raw)
In-Reply-To: <20200106143409.32321-1-narmstrong@baylibre.com>
On Mon, 6 Jan 2020 15:34:05 +0100
Neil Armstrong <narmstrong@baylibre.com> wrote:
> This patch series aims at adding support for runtime bus-format
> negotiation between all elements of the
> 'encoder -> bridges -> connector/display' section of the pipeline.
>
> In order to support that, we need drm bridges to fully take part in the
> atomic state validation process, which requires adding a
> drm_bridge_state and a new drm_bridge_funcs.atomic_check() hook.
> Once those basic building blocks are in place, we can add new hooks to
> allow bus format negotiation (those are called just before
> ->atomic_check()). The bus format selection is done at runtime by
> testing all possible combinations across the whole bridge chain until
> one is reported to work.
>
> No Major changes in this v6, I addressed the slight changed requested
> by Boris from Laurent on the patch 1, and rebased on drm-misc-next.
> Note that this version only contains core changes.
> Once those changes are merged I'll send the imx/panel/lvds-codec specific bits.
>
> A more detailed changelog is provided in each patch.
>
> This patch series is also available here [1].
>
> Thanks,
>
> ~Boris~ Neil
>
> [1] https://github.com/superna9999/linux/commits/drm-bridge-busfmt-v6
>
> Boris Brezillon (4):
> drm/bridge: Add a drm_bridge_state object
> drm/bridge: Patch atomic hooks to take a drm_bridge_state
> drm/bridge: Add an ->atomic_check() hook
> drm/bridge: Add the necessary bits to support bus format negotiation
This version looks good to me.
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
>
> .../drm/bridge/analogix/analogix_dp_core.c | 41 +-
> drivers/gpu/drm/drm_atomic.c | 39 ++
> drivers/gpu/drm/drm_atomic_helper.c | 32 +-
> drivers/gpu/drm/drm_bridge.c | 527 +++++++++++++++++-
> drivers/gpu/drm/rcar-du/rcar_lvds.c | 5 +-
> include/drm/drm_atomic.h | 3 +
> include/drm/drm_bridge.h | 275 ++++++++-
> 7 files changed, 874 insertions(+), 48 deletions(-)
>
next prev parent reply other threads:[~2020-01-06 14:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-06 14:34 [PATCH v6 0/4] drm: Add support for bus-format negotiation Neil Armstrong
2020-01-06 14:34 ` [PATCH v6 1/4] drm/bridge: Add a drm_bridge_state object Neil Armstrong
2020-01-07 14:46 ` Imre Deak
2020-01-06 14:34 ` [PATCH v6 2/4] drm/bridge: Patch atomic hooks to take a drm_bridge_state Neil Armstrong
2020-01-06 14:40 ` Boris Brezillon
2020-01-06 14:46 ` Neil Armstrong
2020-01-06 14:34 ` [PATCH v6 3/4] drm/bridge: Add an ->atomic_check() hook Neil Armstrong
2020-01-06 14:34 ` [PATCH v6 4/4] drm/bridge: Add the necessary bits to support bus format negotiation Neil Armstrong
2020-01-06 22:30 ` Jonas Karlman
2020-01-06 14:37 ` Boris Brezillon [this message]
2020-01-07 9:24 ` [PATCH v6 0/4] drm: Add support for bus-format negotiation Neil Armstrong
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=20200106153729.7293f7e0@collabora.com \
--to=boris.brezillon@collabora.com \
--cc=andrew.smirnov@gmail.com \
--cc=cphealy@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@siol.net \
--cc=jonas@kwiboo.se \
--cc=kernel@collabora.com \
--cc=kyungmin.park@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=mark.rutland@arm.com \
--cc=narmstrong@baylibre.com \
--cc=nikita.yoush@cogentembedded.com \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=sw0312.kim@samsung.com \
--cc=thierry.reding@gmail.com \
/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