[PATCH 0/4] drm: use for_each_endpoint_of_node macro

Philipp Zabel p.zabel at pengutronix.de
Mon Feb 23 08:34:25 PST 2015


Hi,

once the "Add of-graph helpers to loop over endpoints and find ports by id"
series [1] gets merged, these patches simplify the common case of looping
over all of graph endpoints in a device node.

[1] https://lkml.org/lkml/2015/2/23/115

regards
Philipp

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          |  9 +++------
 drivers/gpu/drm/rcar-du/rcar_du_kms.c       | 16 +++-------------
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 11 ++++-------
 4 files changed, 13 insertions(+), 33 deletions(-)

-- 
2.1.4



More information about the dri-devel mailing list