drm/bridge: Create a function to abstract panels away
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/bridge: Add a function to abstract away panelsdrivers/ drivers/ include/ | +43 | 9 replies | |
| 2/3 | drm/vc4: dpi: Switch to devm_drm_of_get_bridgedrivers/ | +4 | 1 reply | |
| 3/3 | drm/vc4: dsi: Switch to devm_drm_of_get_bridgedrivers/ drivers/ | +6 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Sam Ravnborg |
|---|---|
| 1/3 | R-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] drm/bridge: Create a function to abstract panels away
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(-)
Signature · 1 line
2.31.1