OpenCloudOS-Kernel/drivers/gpu/drm/msm/edp
Boris Brezillon 35a61fe921 drm: Stop accessing encoder->bridge directly
We are about to replace the single-linked bridge list by a double-linked
one based on list.h, leading to the suppression of the encoder->bridge
field. But before we can do that we must provide a
drm_bridge_chain_get_first_bridge() bridge helper and patch all drivers
and core helpers to use it instead of directly accessing encoder->bridge.

Note that we still have 2 drivers (VC4 and Exynos) manipulating the
encoder->bridge field directly because they need to cut the bridge chain
in order to control the enable/disable sequence. This is definitely
not something we want to encourage, so let's keep those 2 oddities
around until we find a better solution.

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-4-boris.brezillon@collabora.com
2019-12-09 10:02:45 +01:00
..
edp.c drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder 2019-08-28 22:22:49 +02:00
edp.h drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
edp.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
edp_aux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
edp_bridge.c drm: Stop accessing encoder->bridge directly 2019-12-09 10:02:45 +01:00
edp_connector.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
edp_ctrl.c drm/msm: edp: Avoid drm_dp_link helpers 2019-10-23 18:20:31 +02:00
edp_phy.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00