drm/sun4i: Don't skip TCONs if they don't have channel 0
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 25 Jun 2018 12:02:49 +0000 (14:02 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 27 Jun 2018 19:43:53 +0000 (21:43 +0200)
commitc5cf04df56e62f5a3ef09452181ee1dc51106080
tree2d1c5185d1f5404b038eb5a553ab2fd82990b966
parentef0cf6441fbb1ac4390e4fa4223d421a924fd458
drm/sun4i: Don't skip TCONs if they don't have channel 0

TV TCONs (channel 1 only) are always connected to TV or HDMI encoder.
Because of that, all output endpoints on such TCON node will point to a
encoder which is part of component framework.

Correct current graph traversing algorithm in such way that it doesn't
skip output enpoints with id 0 on TV TCONs.

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-10-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun4i_drv.c