drm/sun4i: Add support for traversing graph with TCON TOP
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 25 Jun 2018 12:02:48 +0000 (14:02 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 27 Jun 2018 19:43:52 +0000 (21:43 +0200)
commitef0cf6441fbb1ac4390e4fa4223d421a924fd458
treeda3799e58e8f736148004ca7b63d430ab43ec673
parent71f4796ac09d6b634f4756388cfdbe9d778499e9
drm/sun4i: Add support for traversing graph with TCON TOP

TCON TOP is different from other nodes in graph by having 3 input and 3
output ports. Additionally, connection to TV TCON might lead back to
HDMI mux input port, creating loops.

Add support for traversing such graph.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180625120304.7543-9-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun4i_drv.c