drm/vc4: kms: Warn if we have an incompatible muxing setup
authorMaxime Ripard <maxime@cerno.tech>
Fri, 4 Mar 2022 14:59:08 +0000 (15:59 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:46 +0000 (16:04 +0000)
commit90a3e1f105a48b8edeb4228e224dfcf5100a00e9
tree260e44d2430f22d355d2aeddd4ebb80a5e1a416c
parent90130b129b15690366891f71f1e7d8cade359886
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>
drivers/gpu/drm/vc4/vc4_kms.c