[GIT PULL] Use of-graph helpers to loop over endpoints

Philipp Zabel pza at pengutronix.de
Wed Apr 8 02:37:23 PDT 2015


On Wed, Apr 08, 2015 at 11:23:29AM +1000, Dave Airlie wrote:
> On 31 March 2015 at 21:58, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> > Hi Dave,
> >
> > now that the of-graph helper tag has been merged into
> >   git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
> > could you merge it and these patches that use it to clean up looping
> > over of-graph endpoints in drm drivers:
> 
> This causes build failures fixed by a patch in Rob's tree, you
> probably unfortunately need to rebase on Rob's tree
> and send me that so I get a tree that builds out of this.
> 
> Dave.

Rebased on Rob's tree, the following changes since commit 01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66:

  of: Explicitly include linux/types.h in of_graph.h (2015-03-26 12:14:56 -0500)

are available in the git repository at:

  git://git.pengutronix.de/git/pza/linux.git tags/of-graph-drm-2015-04-08

for you to fetch changes up to ecaa4902222fd4d28692203bec028513fbac29c7:

  drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break (2015-04-08 11:14:27 +0200)

----------------------------------------------------------------
drm: Use of-graph helpers to loop over endpoints

Convert all drm callers that use of_graph_get_next_endpoint to loop over
of-graph endpoints to the newly introduced for_each_endpoint_of_node
helper macro.

----------------------------------------------------------------
Philipp Zabel (4):
      drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs
      drm/imx: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id
      drm/rcar-du: use for_each_endpoint_of_node macro
      drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break

 drivers/gpu/drm/drm_of.c                    | 10 +++-------
 drivers/gpu/drm/imx/imx-drm-core.c          | 11 ++++-------
 drivers/gpu/drm/rcar-du/rcar_du_kms.c       | 16 +++-------------
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 11 ++++-------
 4 files changed, 14 insertions(+), 34 deletions(-)

regards
Philipp


More information about the dri-devel mailing list