drm/bridge: Add the drm_for_each_bridge_in_chain() helper
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 3 Dec 2019 14:15:09 +0000 (15:15 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 9 Dec 2019 09:03:17 +0000 (10:03 +0100)
commit4ec5c9050a496a984ffdaaf2307aef353634dc87
tree0608fd53cc0abdaaa8c943bdfda67182f66e2ab6
parent05193dc38197021894b17239fafbd2eb1afe5a45
drm/bridge: Add the drm_for_each_bridge_in_chain() helper

To iterate over all bridges attached to a specific encoder.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191203141515.3597631-6-boris.brezillon@collabora.com
include/drm/drm_bridge.h