[PATCH v3 6/7] drm: sun4i: dsi: Use drm_panel_bridge, connector API
Jagan Teki
jagan at amarulasolutions.com
Fri Feb 26 12:10:24 EST 2021
On Fri, Feb 26, 2021 at 10:27 PM Maxime Ripard <mripard at kernel.org> wrote:
>
> Hi,
>
> On Mon, Feb 15, 2021 at 01:11:01AM +0530, Jagan Teki wrote:
> > Use drm_panel_bridge to replace manual panel handling code.
> >
> > This simplifies the driver to allows all components in the
> > display pipeline to be treated as bridges, paving the way
> > to generic connector handling.
> >
> > Use drm_bridge_connector_init to create a connector for display
> > pipelines that use drm_bridge.
> >
> > This allows splitting connector operations across multiple bridges
> > when necessary, instead of having the last bridge in the chain
> > creating the connector and handling all connector operations
> > internally.
> >
> > Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
>
> Most of the code removed in that patch was actually introduced earlier
> which feels a bit weird. Is there a reason we can't do that one first,
> and then introduce the bridge support?
This patch adds new bridge API's which requires the driver has to
support the bridge first.
Jagan.
More information about the linux-arm-kernel
mailing list