drm/vc4: kms: Split the HVS muxing check in a separate function
authorMaxime Ripard <maxime@cerno.tech>
Thu, 5 Nov 2020 13:56:53 +0000 (14:56 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 19 Nov 2020 13:45:16 +0000 (14:45 +0100)
commita72b0458cd5123b40dd5084f6e536af63aeacda1
tree3c637072b314ce830fd9799a029a3636dda422df
parenta9661f27dc6bfbb6869b07cf68f9c2fd05167746
drm/vc4: kms: Split the HVS muxing check in a separate function

The code that assigns HVS channels during atomic_check is starting to grow
a bit big, let's move it into a separate function.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105135656.383350-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c