drm/vc4: kms: Warn if we have an incompatible muxing setup
authorMaxime Ripard <maxime@cerno.tech>
Mon, 28 Mar 2022 15:36:58 +0000 (17:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 8 Apr 2022 11:38:06 +0000 (13:38 +0200)
commit457e5184b9e0e14b26044c7fed5940bcbe7698a7
treeefc29daf49401d550da3d7a8b7eeaa951c1208f7
parentf47d37a91e60990f0ee3006004639487906e3125
drm/vc4: kms: Warn if we have an incompatible muxing setup

The documentation explicitly states we must prevent the output
2 and 3 from feeding from the same HVS channel.

Let's add a warning to make some noise if we ever find ourselves in such
a case.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20220328153659.2382206-6-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c