]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Split out code for enumerating endpoints in output port
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 25 Jun 2018 12:02:47 +0000 (14:02 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 27 Jun 2018 19:43:51 +0000 (21:43 +0200)
commit98fa3c4e8a5bcef2284c3521b326604c5ab05a9e
treeaa7322b5e221a9934fa8d07754c5e82c13887c48
parentadc9d82a69403da3203cbbe5f885bbbfbc0ecc42
drm/sun4i: Split out code for enumerating endpoints in output port

Until now, each node has one input port and one output port. However,
with TCON TOP this is no longer true. It has 3 input and 3 output ports.

In order to prepare to this situation, split out the code which checks
all endpoints in input port and adds available components to fifo.

This patch doesn't do any functional change.

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