All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/bridge: Create a function to abstract panels away
@ 2021-09-10 13:09 Maxime Ripard
  2021-09-10 13:09 ` [PATCH 1/3] drm/bridge: Add a function to abstract away panels Maxime Ripard
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Maxime Ripard @ 2021-09-10 13:09 UTC (permalink / raw)
  To: Robert Foss, Daniel Vetter, David Airlie, Maarten Lankhorst,
	Thomas Zimmermann, Maxime Ripard, Laurent Pinchart,
	Jernej Skrabec, Andrzej Hajda, Neil Armstrong, Jonas Karlman
  Cc: dri-devel

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-09-28 16:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10 13:09 [PATCH 0/3] drm/bridge: Create a function to abstract panels away Maxime Ripard
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

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.