Re: [PATCH v2 0/9] drm/sun4i: Support multiple display pipelines

From: Maxime Ripard
Date: Mon Apr 24 2017 - 01:51:25 EST


On Fri, Apr 21, 2017 at 04:38:48PM +0800, Chen-Yu Tsai wrote:
> Hi,
>
> This is v2 of the series previously named "drm/sun4i: Support two
> display pipelines". As the name change suggests, the driver now
> supports any number of pipelines, though the hardware only has
> 2 or 3.
>
> Changes since v1:
>
> - Add component endpoint ID numbering scheme to device tree binding.
>
> - Use lists to keep references to registered backends and tcons.
>
> - Save pointer to device node for backends.
>
> - Traverse the device tree of_graph starting from the tcons, going
> up towards the inputs, and matching the device nodes with the
> device nodes of registered backends, to find the one linked with
> the tcon the search started from.
>
> - Copy the ID for the tcon from its upstream backend, instead of
> trying, and possibly failing, to figure it out from the device
> tree.
>
> - Split out hunk dropping trailing 0 from a backend error message.
>
> Patch 1 adds the component endpoint ID numbering scheme to the
> device tree binding. New in v2.
>
> Patch 2 adds lists to track registered display backends and TCONs,
> instead of just one pointer per component type. Previously added
> arrays of pointers in v1.
>
> Patch 3 drops the trailing 0 from one of the backend's bind error
> messages. This was previously part of the patch "drm/sun4i: Support
> two display pipelines".
>
> Patch 4 adds a function to fetch a backend's ID from the device tree.
> Unchanged.
>
> Patch 5 adds a device node field to the backend data structure and
> saves a reference to the underlying device node of the backend.
> New in v2.
>
> Patch 6 makes the tcon driver find its upstream backend by traversing
> the of_graph and matching device nodes against the device nodes of
> registered backends.
> New in v2.
>
> Patch 7 makes the tcon driver use the ID from its associated backend.
> New in v2. This is not immediately used in this series, but will be
> used in similar fashion for downstream encoders to figure out IDs and
> muxing
>
> Patch 8 adds device nodes for sun6i's second display pipeline.
> Unchanged.
>
> Patch 9 enables sun6i's tcon0 by default.
> Unchanged.

Applied everything, thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature