drm/bridge: Add the drm_bridge_get_prev_bridge() helper
commitac877c64c87aff5d228cf53e40d8f68899afa815
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 3 Dec 2019 14:15:10 +0000 (3 15:15 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 9 Dec 2019 09:03:29 +0000 (9 10:03 +0100)
tree9e5959b7ca4e7f9e23cbbac1e6b33bc7463aa731
parent4ec5c9050a496a984ffdaaf2307aef353634dc87
drm/bridge: Add the drm_bridge_get_prev_bridge() helper

The drm_bridge_get_prev_bridge() helper will be useful for bridge
drivers that want to do bus format negotiation with their neighbours.

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-7-boris.brezillon@collabora.com
include/drm/drm_bridge.h