All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime@cerno.tech>
To: Robert Foss <robert.foss@linaro.org>,
	Daniel Vetter <daniel.vetter@intel.com>,
	David Airlie <airlied@linux.ie>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Maxime Ripard <maxime@cerno.tech>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Andrzej Hajda <a.hajda@samsung.com>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Jonas Karlman <jonas@kwiboo.se>
Cc: dri-devel@lists.freedesktop.org
Subject: [PATCH 0/3] drm/bridge: Create a function to abstract panels away
Date: Fri, 10 Sep 2021 15:09:38 +0200	[thread overview]
Message-ID: <20210910130941.1740182-1-maxime@cerno.tech> (raw)

Hi,

This series used to be part of the DSI probe order series, but got removed
since it wasn't useful there anymore.

However, I still believe there is value in moving towards merging bridges and
panels by only making encoder (or upstream bridges) manipulate bridges.

The first patch creates a new helper that does just this by looking for a
bridge and a panel, and if a panel is found create a panel_bridge to return
that bridge instead.

The next two patches convert the vc4 encoders to use it.

If it's accepted, I plan on converting all the relevant users over time.

Let me know what you think,
Maxime

Maxime Ripard (3):
  drm/bridge: Add a function to abstract away panels
  drm/vc4: dpi: Switch to devm_drm_of_get_bridge
  drm/vc4: dsi: Switch to devm_drm_of_get_bridge

 drivers/gpu/drm/drm_bridge.c  | 42 +++++++++++++++++++++++++++++++----
 drivers/gpu/drm/drm_of.c      |  3 +++
 drivers/gpu/drm/vc4/vc4_dpi.c | 15 ++++---------
 drivers/gpu/drm/vc4/vc4_drv.c |  2 ++
 drivers/gpu/drm/vc4/vc4_dsi.c | 28 ++++-------------------
 include/drm/drm_bridge.h      |  2 ++
 6 files changed, 53 insertions(+), 39 deletions(-)

-- 
2.31.1


             reply	other threads:[~2021-09-10 13:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10 13:09 Maxime Ripard [this message]
2021-09-10 13:09 ` [PATCH 1/3] drm/bridge: Add a function to abstract away panels Maxime Ripard
2021-09-12 19:42   ` Sam Ravnborg
2021-09-12 19:50   ` Sam Ravnborg
2021-09-21 12:47   ` Patrik Jakobsson
2021-09-22  8:22     ` Maxime Ripard
2021-09-22  8:30       ` Patrik Jakobsson
2021-09-23  0:29   ` Laurent Pinchart
2021-09-27 19:43     ` Maxime Ripard
2021-09-27 21:53       ` Laurent Pinchart
2021-09-28 16:27     ` Andrzej Hajda
2021-09-10 13:09 ` [PATCH 2/3] drm/vc4: dpi: Switch to devm_drm_of_get_bridge Maxime Ripard
2021-09-12 19:42   ` Sam Ravnborg
2021-09-10 13:09 ` [PATCH 3/3] drm/vc4: dsi: " Maxime Ripard
2021-09-12 19:46   ` Sam Ravnborg
2021-09-14  8:47     ` 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=20210910130941.1740182-1-maxime@cerno.tech \
    --to=maxime@cerno.tech \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=a.hajda@samsung.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=narmstrong@baylibre.com \
    --cc=robert.foss@linaro.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.