summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-02-06 10:35:40 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-02-07 09:08:51 +0100
commit3b6ec458578bf065e102e8bb4b9e61dbc0caf5a4 (patch)
tree8079f4eb6b63de890c60e1ccc000264d9a55e4dc /drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
parent08e3211251e36a506ff6b0c31620e362b5800f47 (diff)
downloadtalos-obmc-linux-3b6ec458578bf065e102e8bb4b9e61dbc0caf5a4.tar.gz
talos-obmc-linux-3b6ec458578bf065e102e8bb4b9e61dbc0caf5a4.zip
drm/pl111: Support multiple endpoints on the CLCD
The Versatile PL110 implementations use multiple endpoints: from the PL111 port, the lines are routed through a PLD, and from there forked so the same lines go to a VGA DAC and an external TFT panel connector. This is discrete wireing so there is no way to turn of one output, i.e. this is really two endpoints, not two ports. We model this with multiple endpoints, so we need to loop over the available endpoints, check for panel or bridge on each and accumulate the result before continuing. The code already will give the panel preference over the bridge, if present, so the output will be sent to the panel if both a panel and a bridge is present on two endpoints of the same port. If they all return -EPROBE_DEFER we return -EPROBE_DEFER as well. If just one endpoint is present on the port, the behaviour is the same as before. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20180206093540.8147-5-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud