]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd174b56bd26a48b21258077ec40c43a4703e3a11
tree2d1c5185d1f5404b038eb5a553ab2fd82990b966
parent2bb785fdb6cf3861eb61676a742eb54f78c1c873
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