]> 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)
commit704383102577ca8c91e078a1be132e17f345229e
treeaa7322b5e221a9934fa8d07754c5e82c13887c48
parent1ab6fea14d2ed556870703a44b1f4eef853e9c27
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