OSDN Git Service

drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 26 Aug 2019 15:26:36 +0000 (17:26 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 28 Aug 2019 20:22:49 +0000 (22:22 +0200)
commit3ef2f119bd3edf12469632629d5ae33f255dbaa5
tree02336472124e021ebd23010453483662b857cbd3
parentee68c743f8d0747585b4c0c171c039d6635bda7c
drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder

This is part of our attempt to make the bridge chain a double-linked
list based on the generic list helpers. In order to do that, we must
patch all drivers manipulating the encoder->bridge field directly.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20190826152649.13820-9-boris.brezillon@collabora.com
drivers/gpu/drm/msm/edp/edp.c
drivers/gpu/drm/msm/hdmi/hdmi.c