drm/vc4: Add additional warn_on
authorMaxime Ripard <maxime@cerno.tech>
Tue, 21 Feb 2023 13:38:32 +0000 (14:38 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:34:59 +0000 (11:34 +0000)
commit1e820435ecacb30bc9cb397a64ccd753120e35e1
treed0726d1177aa5919b99892880993fc18ebd99ce4
parentca6c7912aa103ea149fbeb101cb195404bb4b055
drm/vc4: Add additional warn_on

Some code path in vc4 are conditional to a generation and cannot be
executed on others. Let's put a WARN_ON if that ever happens.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_kms.c
drivers/gpu/drm/vc4/vc4_plane.c