drm/vc4: Support nomodeset
authorMaxime Ripard <maxime@cerno.tech>
Wed, 15 Dec 2021 09:51:15 +0000 (10:51 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 Jan 2022 12:16:11 +0000 (13:16 +0100)
commitd62b9bee52dc887f9bf7d13cac120b7caf75079e
tree94722f7218630d96393c4690ef35f8030b9178de
parent39feb6e726e7b36327e4c82239669bf86dd59544
drm/vc4: Support nomodeset

If we have nomodeset on the kernel command line we should have the
firmware framebuffer driver kept as is and not try to load the
full-blown KMS driver.

In this case, let's just register the v3d driver.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-3-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.c