drm/vc4: crtc: Move HVS init and close to a function
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:00:54 +0000 (10:00 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:03:33 +0000 (18:03 +0200)
commit6d01a106b4c88f0c9ff5240c54d26d3d08e5943e
treeb313ccef831d254abab8aebaf3cc837831a36164
parentbe26296a259dcce9c89b517ee95e5924334086dc
drm/vc4: crtc: Move HVS init and close to a function

In order to make further refactoring easier, let's move the HVS channel
setup / teardown to their own function.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/fb1b5299d1636ddce8340b51a80d51641839f83b.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hvs.c