drm/vc4: kms: Split the HVS muxing check in a separate function 38/245638/1
authorMaxime Ripard <maxime@cerno.tech>
Mon, 12 Oct 2020 07:55:43 +0000 (16:55 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 13 Oct 2020 08:58:52 +0000 (17:58 +0900)
commitb6cf6945c8bb5da757776af2e4df8cebf6383368
treeb11d70915895eb685f6bd6c7906f2801c098dceb
parent704036c2a3e84a1d1a42d9511e3527e029c37e59
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>
[hoegeun.kwon: Needed to fix page flip issue of dual hdmi.]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Icf636a846282981d21ad3e6652a3ec51f14993a4
drivers/gpu/drm/vc4/vc4_kms.c