]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit71f4796ac09d6b634f4756388cfdbe9d778499e9
treeaa7322b5e221a9934fa8d07754c5e82c13887c48
parent367c359aa8637b15ee8df6335c5a29b7623966ec
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