drm/bridge: Make the bridge chain a double-linked list
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 3 Dec 2019 14:15:08 +0000 (15:15 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 9 Dec 2019 09:03:01 +0000 (10:03 +0100)
commit05193dc38197021894b17239fafbd2eb1afe5a45
treeae8656cacf3a21e180c0a9a920c3d661550032a3
parent35a61fe9218a9d32a93447bdcca1d0f167cd0433
drm/bridge: Make the bridge chain a double-linked list

So that each element in the chain can easily access its predecessor.
This will be needed to support bus format negotiation between elements
of the bridge chain.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191203141515.3597631-5-boris.brezillon@collabora.com
drivers/gpu/drm/drm_bridge.c
drivers/gpu/drm/drm_encoder.c
drivers/gpu/drm/exynos/exynos_drm_dsi.c
drivers/gpu/drm/vc4/vc4_dsi.c
include/drm/drm_bridge.h
include/drm/drm_encoder.h