drm: bridge: simple-bridge: Delegate operations to next bridge
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 26 May 2020 01:14:44 +0000 (04:14 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 23 Jun 2020 17:52:22 +0000 (19:52 +0200)
commit00686ac55d0a2192bb5cdd443272b8a5d60e557f
tree46bb11009f722e5fad0a815d37f493b3f11c37a7
parent11d3cf804591246bb5e09cb03cb30121eafc2f4c
drm: bridge: simple-bridge: Delegate operations to next bridge

Instead of poking into the DT node of the next bridge for its DDC bus
and implementing the .get_modes() and .detect() connector operations
manually, retrieve the next bridge in the chain and delegate these
operations to it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200526011505.31884-7-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/bridge/simple-bridge.c